automate.scl

Use this forum for everything concerning script usage
Post Reply
antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

automate.scl

Post by antonellocaroli »

I would like to add a line to automatically save the cover image as "folder"

I tried on_SavePicture but does not work ...
what is the correct string?

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: automate.scl

Post by jtclipper »

This is what you can use

Code: Select all

Program Automate;

begin
  on_Apply;
  on_Update;
  on_Rename;
  on_SavePictureEX( true, 'folder' );
end.
Dimitris

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

Thank you very much!!!

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

Hi Dimitris,
You can add 'rename folder with album name' to the script?

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: automate.scl

Post by jtclipper »

There you go

Code: Select all

Program Automate;
begin
  on_Apply;
  on_Update;
  on_Rename;
  on_SavePictureEX( true, 'folder' );
  sys_RenameCurrentTreeFolder( '%L' );    
end.
Dimitris

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

thanks!!!  ;D

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

Hello Dimitri,
how do I change this script so that funzoni in version 0.87 beta?

Code: Select all

Program Automate;
begin
  on_Apply;
  on_Update;
  on_Rename;
  on_SavePictureEX( true, 'folder' );
  sys_RenameCurrentTreeFolder( '%L' );    
end.
I would like to rename folder (Year - Album)

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: automate.scl

Post by jtclipper »

This one will do

Code: Select all

Program Automate;
begin
  tg_Apply;
  tg_Update;
  on_SavePictureEX( true, 'folder' );
  sys_RenameCurrentTreeFolder( '%Y% - %L%' );
end.

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

really thanks Dimitri!!!!

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

Hi Dimitri,
rogram Automate;

begin

tg_Apply;
tg_Update;
on_SavePictureEX( true, 'folder' );
sys_RenameCurrentTreeFolder( '%L' );
end.
Then I wanted to ask if it is possible to add something that makes the Grab automatically

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: automate.scl

Post by jtclipper »

There is no automation for this function because the online panel might use other sources as well, but I'll have a look and see if it's possible

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

thanks!!!

User avatar
jtclipper
Administrator
Administrator
Posts: 768
Joined: Tue Aug 10, 2010 12:04 pm

Re: automate.scl

Post by jtclipper »

I had a look at this and it proved problematic because you actually executing a script from within a script.
The only solution is to modify the original source file that grabs the content and add those few lines at the end.

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: automate.scl

Post by antonellocaroli »

thanks, it's good enough so!!

Post Reply