Software-Updates
14.05.12 10:53
11.05.12 09:48
05.05.12 18:09
18.04.12 17:00
18.04.12 16:54
Umfrage
Wie oft benötigen Sie an Ihrem Mac noch ein optisches Laufwerk?
Täglich
3,1%
Mehrmals pro Woche
9,2%
Ca. 1x pro Woche
12,5%
Ca. 1x pro Monat
22,5%
Alle paar Monate
39,4%
Nie
8,3%
Habe gar kein optisches Laufwerk mehr
5%
1511 Stimmen
WERBUNG
WERBUNG
AppleScript Runner[2281] CPSGetFrontProcess(): This call is deprecated and should not be called anymore.
rene204Anwesend 10.01.10 07: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
Kommentare
3 Kommentare
_mäuschen 10.01.10 12: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.
_______________________________________________


NTM - Never Trust the Media
Kommentare
rene204Anwesend 10.01.10 13:09
Danke für die Info....
Kommentare
_mäuschen 10.01.10 13: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.

NTM - Never Trust the Media
Kommentare
Kommentar hinzufügen
Sie müssen sich anmelden, um an der Diskussion teilnehmen zu können.
WERBUNG
Anmeldung
Name:
Kennwort:
WERBUNG
WERBUNG