diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-31 19:18:50 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-31 19:18:50 +0000 |
commit | 26865c7ea66092de62009cc8f1212863326f4a49 (patch) | |
tree | d45f73c6bd07492574c2ab6be19fb2428f684363 /Resources/Scripting/sequel-pro.scriptSuite | |
parent | 441ef7b38085eebcd5d05806f70b56ab9a2b0925 (diff) | |
download | sequelpro-26865c7ea66092de62009cc8f1212863326f4a49.tar.gz sequelpro-26865c7ea66092de62009cc8f1212863326f4a49.tar.bz2 sequelpro-26865c7ea66092de62009cc8f1212863326f4a49.zip |
• fixed AppleScript crash after calling 'open' without any parameter
- this should fix the issues 108, 1398, 226 , 1157, 1473
• added AppleScript support for command 'print'
- it prints the active view
• renamed SP classes in sequel-pro.scriptSuite
• AppleScript command 'make new document' opens a new window and connects to default automatically if set
Diffstat (limited to 'Resources/Scripting/sequel-pro.scriptSuite')
-rw-r--r-- | Resources/Scripting/sequel-pro.scriptSuite | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Resources/Scripting/sequel-pro.scriptSuite b/Resources/Scripting/sequel-pro.scriptSuite index 1385660a..0647ee18 100644 --- a/Resources/Scripting/sequel-pro.scriptSuite +++ b/Resources/Scripting/sequel-pro.scriptSuite @@ -8,10 +8,12 @@ "Superclass" = "NSCoreSuite.NSApplication"; "SupportedCommands" = { "NSCoreSuite.Quit" = "handleQuitScriptCommand:"; + "NSCoreSuite.Open" = "handleOpenScriptCommand:"; + "NSCoreSuite.Print" = "handlePrintScriptCommand:"; }; "ToManyRelationships" = { "orderedDocuments" = { - "Type" = "TableDocument"; + "Type" = "SPDatabaseDocument"; "AppleEventCode" = "docu"; }; "orderedWindows" = { @@ -20,7 +22,7 @@ }; }; }; - "TableDocument" = { + "SPDatabaseDocument" = { "Superclass" = "NSCoreSuite.NSDocument"; "AppleEventCode" = "docu"; }; |