Proper use of run script commands
Proper use of run script commands
- Subject: Proper use of run script commands
- From: Eric Geoffroy <email@hidden>
- Date: Mon, 25 Oct 2004 09:01:27 -0700
I have a few subscripts within a large script. The large script breaks
(stops running) after one of the "run script" subscripts is called.
script badger
blah blah
end script
script valentine
doo dah
end script
tell app "xxxx"
do some stuff
if n is 0 then
run script badger
else
set n to 1
end tell
tell app "bbb"
if x is "indd" then
run script valentine
else
set n to 1
end tell
Should I be using handlers instead? I may be misusing this code.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden