I think part of the problem is that your scripts are "blocking". Rev
is not multitasking really, but it can be simulated using "with
messages".
Can you put a script in the button that would just print some text to
the msg box? Test it without the script running. Then try it with the
script running.
if it doesn't print, then it's blocking.
cmd-period isn't something you want an end user to use from a button, usually.
anyway, you could probably make this work, but you'd have to rewrite stuff.
check out the 'Message Mechanics' stack for an explanation. (somebody
help me here).
sqb
Thanks Steve, but I couldn't get your suggestion to work. Sounded
like a good idea, though. Here's an example of what I'd like to have
happen.
Script of btn 1:
on mouseup
repeat with i = 1 to 10000
put i
if i = 200 then tryit
end repeat
end mouseup
on tryit
---do something here that stops the repeat loop from running
end tryit
Here's the tough part... I can't know in advance where the running
script is originating. I simply know something is running somewhere
in my stack, and whatever it is, I want to abort it via script
control.
Thanks.
Richard
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution