diff options
Diffstat (limited to 'Resources')
-rw-r--r-- | Resources/Info.plist | 2 | ||||
-rw-r--r-- | Resources/sequel-pro.scriptSuite | 38 | ||||
-rw-r--r-- | Resources/sequel-pro.scriptTerminology | 30 |
3 files changed, 24 insertions, 46 deletions
diff --git a/Resources/Info.plist b/Resources/Info.plist index 819db1db..59f62796 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -64,7 +64,7 @@ <key>CFBundleVersion</key> <string></string> <key>NSAppleScriptEnabled</key> - <string>YES</string> + <true/> <key>NSHumanReadableCopyright</key> <string>0.9.6 (r1130)</string> <key>LSMinimumSystemVersion</key> diff --git a/Resources/sequel-pro.scriptSuite b/Resources/sequel-pro.scriptSuite index 3d98e84d..1385660a 100644 --- a/Resources/sequel-pro.scriptSuite +++ b/Resources/sequel-pro.scriptSuite @@ -1,36 +1,28 @@ { "Name" = "Sequel Pro"; "AppleEventCode" = "cmec"; - + "Classes" = { "SPAppController" = { - "Superclass" = "NSCoreSuite.AbstractObject"; "AppleEventCode" = "capp"; + "Superclass" = "NSCoreSuite.NSApplication"; "SupportedCommands" = { - "authenticate" = "authenticate:"; + "NSCoreSuite.Quit" = "handleQuitScriptCommand:"; }; - }; - }; - "Commands" = { - "authenticate" = { - "CommandClass" = "NSScriptCommand"; - "AppleEventCode" = "auth"; - "Class" = "NSString"; - "ResultAppleEventCode" = "****"; - "Arguments" = { - "query" = { - "Type" = "NSString"; - "AppleEventCode" = "qery"; + "ToManyRelationships" = { + "orderedDocuments" = { + "Type" = "TableDocument"; + "AppleEventCode" = "docu"; }; - "fifo" = { - "Type" = "NSString"; - "AppleEventCode" = "fifo"; - }; - "tunnelName" = { - "Type" = "NSString"; - "AppleEventCode" = "tunn"; + "orderedWindows" = { + "Type" = "NSWindow"; + "AppleEventCode" = "cwin"; }; }; }; + "TableDocument" = { + "Superclass" = "NSCoreSuite.NSDocument"; + "AppleEventCode" = "docu"; + }; }; -}
\ No newline at end of file +} 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 +} |