Save also other options to Script

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, xnview

Post Reply
User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Save also other options to Script

Post by Dreamer » Tue Mar 04, 2008 12:42 am

Save also options from the first tab (General) to Script, as option perhaps, e.g. Format, format options (JPEG quality), overwrite option...

It would be useful to create the script for creating thumbnails, or resize script for web sites, or script to just change the format...

BTW also pre-defined scripts might be very useful, few for resize for example.
Dreamer

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC » Tue Mar 04, 2008 1:47 pm

This is similar to my requests here and here.

There were no forum responses to either topic, though.
John

User avatar
xnview
Author of XnView
Posts: 31930
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Tue Mar 04, 2008 3:10 pm

JohnFredC wrote:This is similar to my requests here and here.

There were no forum responses to either topic, though.
The problem is: If i save in the script the load/save settings, so i need to restore them when you load the script. So global settings are changed...
Pierre.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Tue Mar 04, 2008 10:47 pm

Perhaps some default script named "Default" would solve it. You could restore the previous settings (Default script) after an operation.

Even if the original settings would be lost, it would be better than change the settings manualy each time. So the option to "save also format options to script" might help.
Dreamer

User avatar
xnview
Author of XnView
Posts: 31930
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Wed Mar 05, 2008 8:20 am

Dreamer wrote:Perhaps some default script named "Default" would solve it. You could restore the previous settings (Default script) after an operation.

Even if the original settings would be lost, it would be better than change the settings manualy each time. So the option to "save also format options to script" might help.
Or settings for read/write are only for 'batch convert' and are restored when quitting dialog???
Pierre.

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC » Wed Mar 05, 2008 2:39 pm

xnview wrote:Or settings for read/write are only for 'batch convert' and are restored when quitting dialog???
This makes sense to me. If the script is to be applied as a Batch Conversion, then any settings changes (specific to the Batch) that are global in scope should be restored after the Batch completes.
John

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Wed Mar 05, 2008 4:50 pm

It would be great, if this is possible, don't know if option is needed, perhaps ini option, but read/write settings should be saved to script by default, it would be very useful.

If you can't add the option, please add this option also without it, I think it should be OK.

Is it possible to save also other options, i.e. Overwrite, Use original path as output, delete original, keep original date/time...? There restore these settings after an operation too. I'm not sure if it would be useful for many users, but if they will be using the same settings, it should not affect them.
Dreamer

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Wed Apr 16, 2008 11:50 pm

Changed in v1.93.6 beta 1, thanks Pierre! :)

I found a problem, I'll start the new topic in the Feedback section.
Dreamer

User avatar
Peter2
XnThusiast
Posts: 1124
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Post by Peter2 » Sat May 03, 2008 9:16 pm

Added in Version 1.93.6 from May 1, 2008.

http://newsgroup.xnview.com/viewtopic.php?t=15011

Peter
XnView 2.48 German, Win 7 x64 Prof. / Win 10

Post Reply