B1: "Save also other options to Script"
Moderator: xnview
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
B1: "Save also other options to Script"
This is not working good. Only the format options are restored, as John said:
"any settings changes (specific to the Batch) that are global in scope should be restored after the Batch completes"
...so also all options in General tab (IMHO), otherwise the original options are lost.
I have suggested such an option because sometimes I need to rename the files, sometimes replace, but after an operation default options should be restored.
XnView 1.93.6 beta 1, Windows XP SP2.
"any settings changes (specific to the Batch) that are global in scope should be restored after the Batch completes"
...so also all options in General tab (IMHO), otherwise the original options are lost.
I have suggested such an option because sometimes I need to rename the files, sometimes replace, but after an operation default options should be restored.
XnView 1.93.6 beta 1, Windows XP SP2.
Dreamer
-
xnview
- Author of XnView
- Posts: 47521
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: B1: "Save also other options to Script"
Strange, all settings are saved, i've tested
Which settings are not saved for you?
Which settings are not saved for you?
Pierre.
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
-
xnview
- Author of XnView
- Posts: 47521
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Sent, but I'm not sure if this will help you.
Here are the steps to reproduce the problem:
- enable "delete original" option
- save as script A
- restart xnview
- press ctrl+U
- disable option "delete original"
- restart xnview
- press ctrl+u
- select script A and press Go button
- press ctrl+u
= "delete original" option is enabled, it's not restored...
...only format settings are restored, all other settings from General tab are NOT restored, they should be restored too IMO, as John has suggested.
Here are the steps to reproduce the problem:
- enable "delete original" option
- save as script A
- restart xnview
- press ctrl+U
- disable option "delete original"
- restart xnview
- press ctrl+u
- select script A and press Go button
- press ctrl+u
= "delete original" option is enabled, it's not restored...
...only format settings are restored, all other settings from General tab are NOT restored, they should be restored too IMO, as John has suggested.
Dreamer
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
-
oops66
- XnThusiast
- Posts: 2008
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Yes of course it's better to save into the script file all custom script parameters (Generals + Transformations) and after, when the "Save" button is pressed & your_script.xbs created, restore the previous "default Values" for General, and blank for Transformations.Dreamer wrote:What about other users? Do you think also the other settings from General tab should be restored aftern an operation, or just Transformations and format settings (JPEG quality...)?
Then you only have to check(ON) the box "script" your_script.xbs to show the script parameters (without modify your default previous general setting).
If the box "script" your_script.xbs is not checked(OFF), then only the general settings (previous default values) are shown.
(Like "Send by Email" function behavior for JPEG quality...)
Maybe a "Save as Custom" and a restore "Custom Values" button is needed for the custom general settings ?
XnViewMP Linux amd64 -> Debian - MX - antiX
-
xnview
- Author of XnView
- Posts: 47521
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
oops66
- XnThusiast
- Posts: 2008
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
-
xnview
- Author of XnView
- Posts: 47521
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
oops66
- XnThusiast
- Posts: 2008
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
I'm not sure about "After a save script", what about other users??xnview wrote:So what is the good behaviour:
* After a save script => restore settings
* After a Go => restore settings
right?
Yes for "After a Go => restore settings" and also...
After a Cancel => restore settings
Because when I use a script and then Cancel, default settings are lost too.
Dreamer
-
oops66
- XnThusiast
- Posts: 2008
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Yes, but if both are activated:Dreamer wrote:I'm not sure about "After a save script", what about other users??xnview wrote:So what is the good behaviour:
* After a save script => restore settings
* After a Go => restore settings
right?
Yes for "After a Go => restore settings" and also...
After a Cancel => restore settings
Because when I use a script and then Cancel, default settings are lost too.
After a save script => restore settings
and also, After a Go => restore settings
(and of course after Cancel too, but should be already the case)
You will not have anymore this kind of problems.
XnViewMP Linux amd64 -> Debian - MX - antiX
-
oops66
- XnThusiast
- Posts: 2008
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Works for me now in B3, thanks, but it will be better to after a script check & uncheck box (with a script_name.xbs) => restore settings too, for an interactive behavior.
After a save script => restore generals settings
After a Go => restore generals settings
After Cancel => restore generals settings
and after a script uncheck box => restore generals settings too.
Others users ?
After a save script => restore generals settings
After a Go => restore generals settings
After Cancel => restore generals settings
and after a script uncheck box => restore generals settings too.
Others users ?
XnViewMP Linux amd64 -> Debian - MX - antiX
-
Dreamer
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm