Gosh, darn, lost my work again!
Moderators: Dorian (MJT support), JRL
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Gosh, darn, lost my work again!
I can't handle the little window so I like to work in the editor. Seems that even though I continually use the save button, if my macro loops/becomes unresponsive and I can't exit normally, then the work isn't actually saved anywhere (at least not under the macroname). Apart from writing bad macros am I doing something wrong?
Well since it is possible that a badly written macro could cause a crash or a tight loop you would be well advised to save the macro and close it before attempting to run it/debug it. If you open it up directly in the editor just saving it should be fine before running it.
MJT Net Support
[email protected]
[email protected]
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
What I'm saying is that if I
Start MS
Show
Right click my macro
Edit Script
Make a change
Click the floppy button, or do file save, it doesn't actually save the changes in the macroname.scp file on the disk.
It only appears to update the .scp file if I choose save when closing the editor.
If closing the editor is the only way to save before a test run, why have the floppy button or file save on the file menu?
Start MS
Show
Right click my macro
Edit Script
Make a change
Click the floppy button, or do file save, it doesn't actually save the changes in the macroname.scp file on the disk.
It only appears to update the .scp file if I choose save when closing the editor.
If closing the editor is the only way to save before a test run, why have the floppy button or file save on the file menu?
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
What I'm saying is that if I
Start MS
Show
Right click my macro
Edit Script
Make a change
Click the floppy button, or do file save, it doesn't actually save the changes in the macroname.scp file on the disk.
It only appears to update the .scp file if I choose save when closing the editor.
If closing the editor is the only way to save before a test run, why have the floppy button or file save on the file menu?
Start MS
Show
Right click my macro
Edit Script
Make a change
Click the floppy button, or do file save, it doesn't actually save the changes in the macroname.scp file on the disk.
It only appears to update the .scp file if I choose save when closing the editor.
If closing the editor is the only way to save before a test run, why have the floppy button or file save on the file menu?
I'll look at this again. If you open it directly in the script editor then it should save it direct to file. It won't if you open the macro properties window first, because then it will update the macro properties and won't be saved until you OK the macro properties. But, as I said, it should be saving to disk if you are opening it up direct. So I'll get it checked out for sure and if there's a bug we'll fix it.
In the mean time I would advise saving and closing after any major changes before running. When in the editor I routinely use the debugger to step through but very rarely run it whole from within the editor, preferring to save, close and then run if I am going to run the entire script. When debugging you can stop and save during the process.
In the mean time I would advise saving and closing after any major changes before running. When in the editor I routinely use the debugger to step through but very rarely run it whole from within the editor, preferring to save, close and then run if I am going to run the entire script. When debugging you can stop and save during the process.
MJT Net Support
[email protected]
[email protected]