• 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
I KNOW it's gotta be simple!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I KNOW it's gotta be simple!


  • Subject: I KNOW it's gotta be simple!
  • From: Daniel Robinson <email@hidden>
  • Date: Tue, 13 Feb 2001 23:26:50 -0500

Okay!

There's GOTTA be a simple answer! Below is a script and three applets. I've boiled 'em down
to where they can't get much simpler.

When I run the script without the "Try" statements, A, B, & C give an Apple Event Time Out.

With the 'Try's, A, B, & C still take exactly a full minute each to release, but at least
they run.



2 different G4s, -- OS 9.0.4 and 9.1 -- Applescript 1.4.3 is what they'll need to run under.

--------------------------------
--Save as compiled script: "Run ABC.script"
tell application "Finder"

try
run application "A app"
end try

try
run application "B app"
end try

try
run application "C app"
end try

end tell

--------------------------------
--save as applet: "A app"
tell application "Finder"
say "This is ay"
beep
end tell

--------------------------------
--save as applet: "B app"
tell application "Finder"
say "This is B"
beep
end tell

--------------------------------
--save as applet: "C app"
tell application "Finder"
say "This is C"
beep
end tell

--------------------------------

Thanks everyone . . . I enjoy this forum tremendously.

--Dan


  • Follow-Ups:
    • Re: I KNOW it's gotta be simple!
      • From: "Jeffrey L. McLean" <email@hidden>
    • Re: I KNOW it's gotta be simple!
      • From: Jason Bourque <email@hidden>
  • Prev by Date: Automating QuickTimePlayer with Applescripts
  • Next by Date: remove, please
  • Previous by thread: Automating QuickTimePlayer with Applescripts
  • Next by thread: Re: I KNOW it's gotta be simple!
  • Index(es):
    • Date
    • Thread