Jon wrote:
I know how to save/apply a script. The fact is that, at least on my
system, if I just do a <ctrl>-S or a Files/Save (script and stack),
error messages do NOT appear and the Apply button becomes gray, even
if there are errors. If I kill the script editor, at least I get to
see the error messages.
Jon - I think that is a large part of why you're seeing this problem so
often.
ctrl-S does a "Save stack"
It does NOT Apply any outstanding edits that you may have - and
therefore does not check for script errors.
IMHO that's a stupid thing for it to do - but that's what it does. And
once you've done that "save stack", you have erroneous scripts saved in
the stack file, waiting to bite you later.
Usual thing to do is either
click Apply (if you are a mouse user)
type the "enter" key (which may be a Fn combination, or a keypad
enter) to apply without closing editor window
save/apply script - on Windows, that's ctrl-return to close
script editor window and apply
I think there are still other problems - but remembering that ctrl-S
doesn't, in Rev, do what any Windows user would expect it to do will
avoid 95% of what you're seeing.
P.S. it only took me about two weeks to stop myself from hitting ctrl-S
frequently :-) :-)
I'm happy that the system works better on your system <grin>
Jon
J. Landman Gay wrote:
On 6/4/05 1:12 PM, Jon wrote:
I've given up on saving scripts, and now only delete/kill the script
editors. That way I'm SURE to see the error messages. Far too
often I have "saved" a script and the save did not take, with no
error window visible.
I have never seen this, ever.
To save/apply a script, either click the button at the bottom of the
editor, or hit the Enter key on the keyboard while your cursor is
somewhere in the script itself. To close the script editor window,
hit the Enter key a second time. You should get any relevant error
messages after the first "apply" (Enter key) is done.
If you mean you are clicking the close box on the editor window
itself, you can do that, and you should get any compile error
messages that way too. It is more standard to use either the Apply
button or the Enter key though (and quicker.)
Note that there are two kinds of errors in scripts. There are compile
errors, which the IDE will warn you about when you try to apply a
script, and there are also runtime errors, which will not be evident
until the script actually executes. Runtime errors can't be caught
during the compile process and you won't see warnings about those
until they actually happen.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.5.2 - Release Date: 03/06/2005
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution