hong Posted March 2, 2004 Share Posted March 2, 2004 Can I make a command to save to backup immediately after by clicking it? 'SetPref (41, true)' doesn't do it. I think this changes the preference setting, rather than executing backup. Thanks in advance. Quote Link to comment
hong Posted March 2, 2004 Author Share Posted March 2, 2004 SetPrefInt(60, 1); sets 1 min. save interval. Is there a selector for operation interval? Quote Link to comment
Guest Posted March 4, 2004 Share Posted March 4, 2004 It looks like we only store one value for the interval and then use a flag to toggle between "time" and "ops". Try calling SetPref(39, false) to set it to "ops". SetPrefInt(60, 1); { set save interval to 1 } SetPref(39, false); { set to save by number of operations } Quote Link to comment
hong Posted March 4, 2004 Author Share Posted March 4, 2004 Thanks for your reply. Yes, i can set this by 1 operation so that autosave menu pops up. Then I say OK to save to back up and set my operation for usual interval by going to the preference menu again. Can I do this all inside of a script? Can I pause the script to bring preference pop-up, assign OK value, and return to the script so that I can reset my interval? Quote Link to comment
Guest Posted March 4, 2004 Share Posted March 4, 2004 No, but you could do the following in the middle of your script: DoMenuTextByName('Save As', 0); It poses a save dialog, but after the user hits OK your script will continue. You don't need to change the auto-save settings at all for this. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.