save and load script

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm

save and load script

Post by lian »

Hello,
I don't understand the use of saving and loading script in XnConvert (the save button is inactive). Is the function implemented ?
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits
User avatar
xnview
Author of XnView
Posts: 45867
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: save and load script

Post by xnview »

Enter a name in the edit field, and you can save...
Pierre.
User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm

Re: save and load script

Post by lian »

OK (sorry as it was different to XnView, I did not guessed).
I found a problem with the script: I created a script with multiple modifications (resize, blur...) and rename. If I load the script for an image and stay on the Output tab (Sortie, quoi :-)), whan I click on "convert"" (convertir) only the first image modification is applied (resize). Same think if I go to the Action tab and do nothing except "convert". To make the script work completely, I have to look in the Action tab at the last modification (applying all modifications on the output screen) and then click "convert".
I have also some problem with the date rename format. In XnView the format seems to be <Date [Y-m-d]> but it does not work. For XnView MP... I don't how to make it work. Y-m-d shows the letters :-). And I found another problem but I will open a new thread :-)
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits
User avatar
xnview
Author of XnView
Posts: 45867
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: save and load script

Post by xnview »

lian wrote:OK (sorry as it was different to XnView, I did not guessed).
I found a problem with the script: I created a script with multiple modifications (resize, blur...) and rename. If I load the script for an image and stay on the Output tab (Sortie, quoi :-)), whan I click on "convert"" (convertir) only the first image modification is applied (resize). Same think if I go to the Action tab and do nothing except "convert". To make the script work completely, I have to look in the Action tab at the last modification (applying all modifications on the output screen) and then click "convert".
Right
I have also some problem with the date rename format. In XnView the format seems to be <Date [Y-m-d]> but it does not work. For XnView MP... I don't how to make it work. Y-m-d shows the letters :-). And I found another problem but I will open a new thread :-)
on MP, it's {...} and not <...>
Pierre.
User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm

Re: save and load script

Post by lian »

Thank you. The date format could be more explained in the program, I think.
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits
User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm

Re: save and load script

Post by lian »

{Date [Y-m-d]} does not seem to work...
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits
User avatar
xnview
Author of XnView
Posts: 45867
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: save and load script

Post by xnview »

lian wrote:{Date [Y-m-d]} does not seem to work...
I've tried, and it works with 0.99 (soon available)
Pierre.
User avatar
lian
Posts: 230
Joined: Wed Nov 24, 2004 8:53 pm

Re: save and load script

Post by lian »

OK. Just have to wait :-)
SF, illustrations et mes BD sur mon blog: https://www.li-an.fr/
Windows 10 Home 64 bits