Re: kill switch for script
Re: kill switch for script
- Subject: Re: kill switch for script
- From: JJ <email@hidden>
- Date: Wed, 17 Jul 2002 22:37:00 +0200
>
I have a script that is running in a continual loop (repeat while). The
>
script
>
is doing everthing it's supposed to do but I have no way of stopping it. Does
>
anyone know of an OSAX to kill a script or a way to script modifier keys so
>
that at the end of the loop I could make an IF statement that looked for
>
certain keys (i.e. - control+option+command+Q)being pressed and then would
>
quit
>
the script?
>
>
Any help here would be much appreciated!
You can use jon's commands, which will run on both classic & X and can
detect "keys pressed"; also, you could check any special circunstance, such
as the "frontmost" property of your script...
repeat while (i am the frontmost application)
...
end
JJ
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.comm
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.