• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Proper use of run script commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Tell "Finder" to print with properties
  • Next by Date: Add format to a string
  • Previous by thread: Re: Native AS or grep via do shell script?
  • Next by thread: Re: Proper use of run script commands
  • Index(es):
    • Date
    • Thread