• 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: Script fails with Leopard.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script fails with Leopard.


  • Subject: Re: Script fails with Leopard.
  • From: KOENIG Yvan <email@hidden>
  • Date: Wed, 21 Nov 2007 17:41:06 +0100


Le 21 nov. 07 à 17:32:00, Robert Poland a écrit :

Wizards,

This script has worked for years. Now with Leopard it fails.

tell application "Finder"
if not ((some process whose name contains "Alarm Clock Pro") exists) then -- this line says connection is invalid
tell application "Alarm Clock Pro" to activate
delay 1
tell application "System Events" to set visible of process "Alarm Clock Pro" to false
end if
end tell


Any ideas?


Bob Poland - Fort Collins, CO


Hello

Process was in the Finder's legacy suite.

Maybe it's definitely gone and need to be used in a tell "System Events" block.

Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Script fails with Leopard.
      • From: KOENIG Yvan <email@hidden>
References: 
 >Script fails with Leopard. (From: Robert Poland <email@hidden>)

  • Prev by Date: Script fails with Leopard.
  • Next by Date: Re: Script fails with Leopard.
  • Previous by thread: Script fails with Leopard.
  • Next by thread: Re: Script fails with Leopard.
  • Index(es):
    • Date
    • Thread