Mac:AppleScript: Difference between revisions

Jump to navigation Jump to search
Line 26: Line 26:
*Override [NSScriptCommand executeCommand] and do our own parsing and handling of Applescript commands.
*Override [NSScriptCommand executeCommand] and do our own parsing and handling of Applescript commands.


*Provide a basic level of commands at the Gecko level which return results based on Javascript queries
*Provide a basic level of commands at the Gecko level which return results based on Javascript queries (e.g. a request for application->window->tabs would use Objective-C objects for application, windows and then use Javascript to find the current tabs and fabricate Objective-C objects that reflect their current state.)
**e.g. a request for application->window->tabs would use Objective-C objects for application, windows and then use Javascript to find the current tabs and fabricate Objective-C objects that reflect their current state.


'''Scripting Hierarchy'''
'''Scripting Hierarchy'''
31

edits

Navigation menu