Re: Moving on even when a part fails
Re: Moving on even when a part fails
- Subject: Re: Moving on even when a part fails
- From: email@hidden
- Date: Tue, 2 Sep 2003 17:51:04 +0100
Put all your "tell" blocks in "try" blocks:
try
tell application "foo"
activate
end tell
end try
I have script that automates a group of application launchings and
things those apps need to do after launching.
tell application "foo"
activate
end tell
tell application "bar"
connect to thingie using settings {blah blah}
end tell
tell application "Finder"
open application "GooglieMooglie.app" of blah
end tell
If the "bar" app fails, the script stops, even though the code that
follows the end tell of "bar" is still something I want to occur. How
can I make the script continue?
Thanks, oh wise ones...
--
DizzyPenguin autoMAC-it
mailto:email@hidden
visit:
http://www.dizzypenguin.com/automac-it/
_______________________________________________
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.