• 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
Is "frontmost application" depreciated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is "frontmost application" depreciated


  • Subject: Is "frontmost application" depreciated
  • From: Joe <email@hidden>
  • Date: Sun, 27 Jul 2008 22:56:29 -0700

Whenever I send this command using the Scripts Menu (but not with Script Editor)

tell application "System Events"
	set x to path to frontmost application as text
end tell

I see in Console this Message:

/System/Library/CoreServices/AppleScript Runner.app/Contents/MacOS/ AppleScript Runner[1641]: CPSGetFrontProcess(): This call is deprecated and should not be called anymore.

Is this a spurious message?

Should I use something else?

Joe
_______________________________________________
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: Is "frontmost application" depreciated
      • From: Christopher Nebel <email@hidden>
    • Re: Is "frontmost application" depreciated
      • From: Carlos Ysunza <email@hidden>
  • Prev by Date: Mail and Searching
  • Next by Date: Re: osascript and text output
  • Previous by thread: Re: perhaps I'll ask again on the Mail scripting thing
  • Next by thread: Re: Is "frontmost application" depreciated
  • Index(es):
    • Date
    • Thread