diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-14 11:39:31 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-14 11:39:31 +0000 |
commit | 080b6b90f0021d6f58090cc19f268f8f0df86351 (patch) | |
tree | a090deef364a730d4c5d53b7d38df5ee09a4e185 /Resources/sequel-pro.scriptTerminology | |
parent | 6ddd95658062b14de2f63746f69b6d65d05792d4 (diff) | |
download | sequelpro-080b6b90f0021d6f58090cc19f268f8f0df86351.tar.gz sequelpro-080b6b90f0021d6f58090cc19f268f8f0df86351.tar.bz2 sequelpro-080b6b90f0021d6f58090cc19f268f8f0df86351.zip |
• cleaned and improved AppleScript support
- now 'activate' & 'quit' works due to that fact that if an app is scriptable the Dock's "Quit" command calls handleQuitScriptCommand: which has to be implemened
- fixed issue that SPAppController has to be the delegate for NSApp to support AS
- added support for AS à la: "get name of first document" or "close every window" etc.
Diffstat (limited to 'Resources/sequel-pro.scriptTerminology')
-rw-r--r-- | Resources/sequel-pro.scriptTerminology | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/Resources/sequel-pro.scriptTerminology b/Resources/sequel-pro.scriptTerminology index f569cbfe..cf65a7f3 100644 --- a/Resources/sequel-pro.scriptTerminology +++ b/Resources/sequel-pro.scriptTerminology @@ -1,31 +1,17 @@ { - "Name" = "Sequel Pro suite"; + "Name" = "Sequel Pro Suite"; "Description" = "Sequel Pro specific classes."; + "Classes" = { "SPAppController" = { "Name" = "application"; "PluralName" = "applications"; - "Description" = "Sequel Pro application"; + "Description" = "Sequel Pro's top level scripting object."; }; - "Commands" = { - "authenticate" = { - "Name" = "authenticate"; - "Description" = "Open the dialog asking for password or passphrase"; - "Arguments" = { - "query" = { - "Name" = "query phrase"; - "Description" = "The string to show in the dialog"; - }; - "fifo" = { - "Name" = "fifo"; - "Description" = "The FIFO file where expecting the passphrase"; - }; - "tunnelName" = { - "Name" = "tunnel"; - "Description" = "Tunnel's name"; - }; - }; - }; + "TableDocument" = { + "Name" = "document"; + "PluralName" = "documents"; + "Description" = "A Sequel Pro document."; }; }; -}
\ No newline at end of file +} |