Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>Software>AppleScript Runner[2281] CPSGetFrontProcess(): This call is deprecated and should not be called anymore.

AppleScript Runner[2281] CPSGetFrontProcess(): This call is deprecated and should not be called anymore.

rene204
rene20410.01.1007:56
Hallo

habe mehrere AppleScripts in Verwendung, die Anwendungen oder Fenster im Vordergrund aufrufen,

leider gibts bei allen diesen die o.g. Fehlermeldung.

scheinbar wird dieser Befehl von Apple nicht mehr empfohlen.
Wie ist die o.g. Fehlermeldung zu interpretieren?

Danke...

rene
„Gelassenheit und Gesundheit.. ist das wichtigste...“
0

Kommentare

_mäuschen
_mäuschen10.01.1012:28
Well, "frontmost application" is definitely not depreciated, because it never had any monetary value to begin with. It's not deprecated either -- the offending call is actually coming from AppleScript Runner itself. It's essentially harmless, and will be fixed in some future update.


--Chris Nebel
AppleScript Engineering


P.S.: 'tell application "System Events" to path to frontmost application' is redundant. You can say 'tell application "System Events" to get first process where it is frontmost', or you can say 'path to frontmost application' outside of a tell block. Putting "path to" inside a tell block is unnecessary.
_______________________________________________


0
rene204
rene20410.01.1013:09
Danke für die Info....
„Gelassenheit und Gesundheit.. ist das wichtigste...“
0
_mäuschen
_mäuschen10.01.1013:19

Möglicherweise auch ein Folder Actions Setup oder FolderActions.folders Fehler
Jan 4 19:03:46 MacBook Folder Actions Setup[7166]: *** WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
Jan 4 19:05:01 MacBook com.apple.launchd.peruser.501[102] ([0x0-0x1f41f4].com.apple.FolderActionsSetup[7166]): Job appears to have crashed: Segmentation fault
Jan 4 19:05:02 MacBook ReportCrash[7172]: Saved crash report for Folder Actions Setup[7166] version 1.1.3 (1.1.3) to /Users/Admin/Library/Logs/DiagnosticReports/Folder Actions Setup_2010-01-04-190502_MacBook.crash
Jan 4 19:06:30 MacBook com.apple.FolderActions.enabled[7186]: launchctl: Error unloading: com.apple.FolderActions.folders
Jan 4 19:06:40 MacBook com.apple.launchd.peruser.501[102] (com.apple.FolderActions.folders): Throttling respawn: Will start in 7 seconds
Jan 4 19:06:42 MacBook /System/Library/CoreServices/AppleScript Runner.app/Contents/MacOS/AppleScript Runner[7190]: CPSGetFrontProcess(): This call is deprecated and should not be called anymore.

0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.