• 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
Re: Running a script in both OS 9 and 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a script in both OS 9 and 10


  • Subject: Re: Running a script in both OS 9 and 10
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 26 Jan 2004 17:49:51 -0700

On Jan 26, 2004, at 4:31 PM, Rob Stavis wrote:

On an OS 9 box, the app System Events doesn't exist, so on the first run I'm presented with a dialog asking me to identify the application System Events. The response wouldn't matter since this piece of the script doesn't get called in OS 9, but the script would be changed and could not then be used an OS 10 machine. Plus, it's very confusing for the user.

Can you see a work-around for this problem (aside from having 2 different versions of the script)?

This might work:

using terms from application "Finder"
tell application "System Events"
--whatever
end tell
end using terms from

-- Michelle

--
The problem with political jokes is that too many of them get elected.
_______________________________________________
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.

References: 
 >Running a script in both OS 9 and 10 (From: Rob Stavis <email@hidden>)

  • Prev by Date: Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
  • Next by Date: Re: Identifying the file types
  • Previous by thread: Running a script in both OS 9 and 10
  • Next by thread: Re: Running a script in both OS 9 and 10
  • Index(es):
    • Date
    • Thread