• 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: testing for Classic and restarting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing for Classic and restarting


  • Subject: Re: testing for Classic and restarting
  • From: Dave Balderstone <email@hidden>
  • Date: Tue, 02 Mar 2004 18:05:04 -0600

On 2-Mar-04, at 4:21 PM, email@hidden wrote:

How does an OSX AppleScript test if Classic is running, and if not, restart
it?


This works here:

---
tell application "System Events"
set IsClassic to exists application process "Classic Support"
if IsClassic is false then
tell application "Classic Startup" to launch
end if
end tell
---
_______________________________________________
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: 
 >testing for Classic and restarting (From: email@hidden)

  • Prev by Date: Re: Determining path to script
  • Next by Date: iChat buddy count?
  • Previous by thread: testing for Classic and restarting
  • Next by thread: Re: testing for Classic and restarting
  • Index(es):
    • Date
    • Thread