Re: Halting a Script
Re: Halting a Script
- Subject: Re: Halting a Script
- From: HomeLink USA <email@hidden>
- Date: Wed, 25 Jun 2003 06:42:30 -0400
>
At 6:57 pm -0400 24/6/03, HomeLink USA wrote:
>
>
> I'm looking for a way to halt a script or go to the end of the script. Can a script "quit" itself?
>
>
if not 2 * 2 = 5 then
>
return
>
end if
>
beep
OS9
That doesn't do it. I get the beep and the script continues. Here's a sample portion:
tell application "Finder"
set AppsUp to ((the name of every application process) as string)
end tell
if AppsUp does not contain "SomeApp" then
tell application "Finder"
restart
--here's where I want the script to abort or jump to the end
end tell
end if
tell application "SomeOtherApp"
Do this stuff
end tell
--
________________________________
HOMELINK INTERNATIONAL
World's Largest
Home Exchange Organization
________________________________
Toll Free ......... 800-638-3841
International ..... 813-975-9825
Fax ............... 813-910-8144
P O Box 47747 * Tampa * FL 33647
email@hidden
http://www.swapnow.com USA Site
http://www.homelink.org all Sites
____________________________________
_______________________________________________
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.