Mac:AppleScript: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 23: Line 23:
*Override [NSScriptCommand executeCommand]: the stack trace below shows the steps that the system takes to execute an Applescript command:
*Override [NSScriptCommand executeCommand]: the stack trace below shows the steps that the system takes to execute an Applescript command:


#0  -[NSScriptCommand executeCommand] ()
 
#1  -[NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] ()
0  -[NSScriptCommand executeCommand] ()
#2  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
 
#3  _NSAppleEventManagerGenericHandler ()
1  -[NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] ()
#4  aeDispatchAppleEvent ()
 
#5  dispatchEventAndSendReply ()
2  -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#6  aeProcessAppleEvent ()
 
#7  AEProcessAppleEvent ()
3  _NSAppleEventManagerGenericHandler ()
#8  _DPSNextEvent ()
 
#9  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
4  aeDispatchAppleEvent ()
#10 -[NSApplication run] ()
 
5  dispatchEventAndSendReply ()
 
6  aeProcessAppleEvent ()
 
7  AEProcessAppleEvent ()
 
8  _DPSNextEvent ()
 
9  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
 
10 -[NSApplication run] ()


When it hits executeCommand, the Applescript command is of the form:
When it hits executeCommand, the Applescript command is of the form:


Intrinsics.get
Intrinsics.get
Direct Parameter: <NSPropertySpecifier: bookmarks>
Direct Parameter: <NSPropertySpecifier: bookmarks>
Receivers: <NSPropertySpecifier: bookmarks>
Receivers: <NSPropertySpecifier: bookmarks>
Arguments: {}
Arguments: {}


31

edits

Navigation menu