Permalink
Browse files

Adds rudimentary AppleScript support so that licenses can be created …

…from a script
  • Loading branch information...
1 parent 70af174 commit 05dfd899748e99b62485be30c109cee579ad8ba8 @tempelmann committed Jul 6, 2012
View
1 Source/RealBasic/.gitignore
@@ -1 +1,2 @@
/*.rbuistate
+/AquaticPrime Developer RB.app/
View
2 Source/RealBasic/App.rbbas
@@ -1 +1 @@
-#tag Class
+#tag Class
View
BIN Source/RealBasic/AppleScript Example.scpt
Binary file not shown.
View
2 Source/RealBasic/AquaticPrime.rbvcp
@@ -1 +1 @@
-Type=Desktop RBProjectVersion=2011.03 MinIDEVersion=20110100 Class=App;App.rbbas;&h734D758B;&h0;false MenuBar=MenuBar1;MenuBar1.rbmnu;&h2AC00A15;&h0;false Class=AquaticPrime;AquaticPrime.rbbas;&h25D64046;&h0;false Window=StartupWin;StartupWin.rbfrm;&h252D6FAC;&h0;false Window=ValidateWin;ValidateWin.rbfrm;&hED88B6E;&h0;false Window=CreateWin;CreateWin.rbfrm;&h26584EAC;&h0;false Module=Obfuscation;Obfuscation.rbbas;&h543E3378;&h0;false Window=GetInfoDlg;GetInfoDlg.rbfrm;&h914DA9C;&h0;false Folder=TT's SmartPreferences;TT's SmartPreferences;&h2DEF0FB0;&h0;false Class=TTsSmartPreferences;TT's SmartPreferences/TTsSmartPreferences.rbbas;&h4B5D874D;&h2DEF0FB0;false Module=XMLDictionary;TT's SmartPreferences/XMLDictionary.rbbas;&h240891D9;&h2DEF0FB0;false Folder=MacOSLib (partial);TT's SmartPreferences/MacOSLib (partial);&h31608F2;&h2DEF0FB0;false Module=Carbon;TT's SmartPreferences/MacOSLib (partial)/Carbon/Carbon.rbbas;&h70AA7032;&h31608F2;false Module=CFArrayExtension;TT's SmartPreferences/MacOSLib (partial)/CFArrayExtension.rbbas;&h37530CDD;&h31608F2;false Module=CoreFoundation;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CoreFoundation.rbbas;&h2D71DF31;&h31608F2;false Class=CarbonPasteboard;TT's SmartPreferences/MacOSLib (partial)/Carbon/CarbonPasteboard.rbbas;&h45AC5E0D;&h70AA7032;false Class=CFArray;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFArray.rbbas;&hEF462EC;&h2D71DF31;false Class=CFBoolean;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFBoolean.rbbas;&h4E8ABD45;&h2D71DF31;false Class=CFBundle;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFBundle.rbbas;&h769066F1;&h2D71DF31;false Class=CFCalendar;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFCalendar.rbbas;&h256D6AD;&h2D71DF31;false Class=CFCharacterSet;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFCharacterSet.rbbas;&h13283AB4;&h2D71DF31;false Class=CFData;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFData.rbbas;&h36264AE5;&h2D71DF31;false Class=CFDate;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFDate.rbbas;&hBFF5DCF;&h2D71DF31;false Class=CFError;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFError.rbbas;&h2A6808D6;&h2D71DF31;false Class=CFDictionary;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFDictionary.rbbas;&h141C7100;&h2D71DF31;false Class=CFMutableArray;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableArray.rbbas;&h573F02F6;&h2D71DF31;false Class=CFMutableData;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableData.rbbas;&h69DBD2DF;&h2D71DF31;false Class=CFMutableDictionary;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableDictionary.rbbas;&h5EF1A66A;&h2D71DF31;false Class=CFMutableString;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableString.rbbas;&h4AE4EB7E;&h2D71DF31;false Class=CFNotificationCenter;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNotificationCenter.rbbas;&h7B210541;&h2D71DF31;false Class=CFLocale;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFLocale.rbbas;&h34E06F34;&h2D71DF31;false Class=CFNumber;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNumber.rbbas;&h7AA51BB0;&h2D71DF31;false Class=CFNull;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNull.rbbas;&h6DBD405D;&h2D71DF31;false Class=CFPreferences;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFPreferences.rbbas;&h23CD139A;&h2D71DF31;false Class=CFReadStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFReadStream.rbbas;&h6CC23778;&h2D71DF31;false Class=CFRunLoop;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoop.rbbas;&h42C820B6;&h2D71DF31;false Class=CFRunLoopSource;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoopSource.rbbas;&h60DBF0A0;&h2D71DF31;false Class=CFRunLoopTimer;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoopTimer.rbbas;&h7930BB4;&h2D71DF31;false Class=CFSocket;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFSocket.rbbas;&h46E59BF4;&h2D71DF31;false Class=CFSocketSignature;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFSocketSignature.rbbas;&hC62162F;&h2D71DF31;false Class=CFStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFStream.rbbas;&h7B9EAFA8;&h2D71DF31;false Class=CFString;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFString.rbbas;&h6F1EBFA5;&h2D71DF31;false Class=CFStringTokenizer;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFStringTokenizer.rbbas;&h4BB86447;&h2D71DF31;false Class=CFTimeZone;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFTimeZone.rbbas;&h36BFD9CD;&h2D71DF31;false Class=CFType;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFType.rbbas;&h6D747F75;&h2D71DF31;false Class=CFURL;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFURL.rbbas;&h7B5C541C;&h2D71DF31;false Class=CFWriteStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFWriteStream.rbbas;&h6A967B2F;&h2D71DF31;false Interface=CFPropertyList;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFPropertyList.rbbas;&h3D71C2FA;&h2D71DF31;false DefaultWindow=StartupWin AppMenuBar=MenuBar1 MajorVersion=1 MinorVersion=0 SubVersion=0 NonRelease=0 Release=3 InfoVersion= LongVersion= ShortVersion=1.0 WinCompanyName= WinInternalName= WinProductName= AutoIncrementVersionInformation=False BuildFlags=&h4080 BuildLanguage=&h0 DebugLanguage=&h0 Region= WindowsName=AquaticPrime Developer RB.exe MacCarbonMachName=AquaticPrime Developer RB LinuxX86Name=AquaticPrime_Developer_RB MacCreator= MDI=0 MDICaption= DefaultEncoding=&h0 AppIcon=AquaticPrime.rbres;&h0 OSXBundleID=com.github.aquaticprime.rbdevapp DebuggerCommandLine= UseGDIPlus=False UseBuildsFolder=True IsWebProject=False
+Type=Desktop RBProjectVersion=2011.03 MinIDEVersion=20110100 Class=App;App.rbbas;&h734D758B;&h0;false MenuBar=MenuBar1;MenuBar1.rbmnu;&h2AC00A15;&h0;false Class=AquaticPrime;AquaticPrime.rbbas;&h25D64046;&h0;false Window=StartupWin;StartupWin.rbfrm;&h252D6FAC;&h0;false Window=ValidateWin;ValidateWin.rbfrm;&hED88B6E;&h0;false Window=CreateWin;CreateWin.rbfrm;&h26584EAC;&h0;false Module=Obfuscation;Obfuscation.rbbas;&h543E3378;&h0;false Window=GetInfoDlg;GetInfoDlg.rbfrm;&h914DA9C;&h0;false Folder=TT's SmartPreferences;TT's SmartPreferences;&h2DEF0FB0;&h0;false Class=TTsSmartPreferences;TT's SmartPreferences/TTsSmartPreferences.rbbas;&h4B5D874D;&h2DEF0FB0;false Module=XMLDictionary;TT's SmartPreferences/XMLDictionary.rbbas;&h240891D9;&h2DEF0FB0;false Folder=MacOSLib (partial);TT's SmartPreferences/MacOSLib (partial);&h31608F2;&h2DEF0FB0;false Module=Carbon;TT's SmartPreferences/MacOSLib (partial)/Carbon/Carbon.rbbas;&h70AA7032;&h31608F2;false Module=CFArrayExtension;TT's SmartPreferences/MacOSLib (partial)/CFArrayExtension.rbbas;&h37530CDD;&h31608F2;false Module=CoreFoundation;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CoreFoundation.rbbas;&h2D71DF31;&h31608F2;false Class=CarbonPasteboard;TT's SmartPreferences/MacOSLib (partial)/Carbon/CarbonPasteboard.rbbas;&h45AC5E0D;&h70AA7032;false Class=CFArray;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFArray.rbbas;&hEF462EC;&h2D71DF31;false Class=CFBoolean;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFBoolean.rbbas;&h4E8ABD45;&h2D71DF31;false Class=CFBundle;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFBundle.rbbas;&h769066F1;&h2D71DF31;false Class=CFCalendar;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFCalendar.rbbas;&h256D6AD;&h2D71DF31;false Class=CFCharacterSet;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFCharacterSet.rbbas;&h13283AB4;&h2D71DF31;false Class=CFData;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFData.rbbas;&h36264AE5;&h2D71DF31;false Class=CFDate;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFDate.rbbas;&hBFF5DCF;&h2D71DF31;false Class=CFError;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFError.rbbas;&h2A6808D6;&h2D71DF31;false Class=CFDictionary;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFDictionary.rbbas;&h141C7100;&h2D71DF31;false Class=CFMutableArray;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableArray.rbbas;&h573F02F6;&h2D71DF31;false Class=CFMutableData;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableData.rbbas;&h69DBD2DF;&h2D71DF31;false Class=CFMutableDictionary;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableDictionary.rbbas;&h5EF1A66A;&h2D71DF31;false Class=CFMutableString;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFMutableString.rbbas;&h4AE4EB7E;&h2D71DF31;false Class=CFNotificationCenter;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNotificationCenter.rbbas;&h7B210541;&h2D71DF31;false Class=CFLocale;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFLocale.rbbas;&h34E06F34;&h2D71DF31;false Class=CFNumber;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNumber.rbbas;&h7AA51BB0;&h2D71DF31;false Class=CFNull;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFNull.rbbas;&h6DBD405D;&h2D71DF31;false Class=CFPreferences;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFPreferences.rbbas;&h23CD139A;&h2D71DF31;false Class=CFReadStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFReadStream.rbbas;&h6CC23778;&h2D71DF31;false Class=CFRunLoop;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoop.rbbas;&h42C820B6;&h2D71DF31;false Class=CFRunLoopSource;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoopSource.rbbas;&h60DBF0A0;&h2D71DF31;false Class=CFRunLoopTimer;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFRunLoopTimer.rbbas;&h7930BB4;&h2D71DF31;false Class=CFSocket;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFSocket.rbbas;&h46E59BF4;&h2D71DF31;false Class=CFSocketSignature;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFSocketSignature.rbbas;&hC62162F;&h2D71DF31;false Class=CFStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFStream.rbbas;&h7B9EAFA8;&h2D71DF31;false Class=CFString;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFString.rbbas;&h6F1EBFA5;&h2D71DF31;false Class=CFStringTokenizer;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFStringTokenizer.rbbas;&h4BB86447;&h2D71DF31;false Class=CFTimeZone;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFTimeZone.rbbas;&h36BFD9CD;&h2D71DF31;false Class=CFType;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFType.rbbas;&h6D747F75;&h2D71DF31;false Class=CFURL;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFURL.rbbas;&h7B5C541C;&h2D71DF31;false Class=CFWriteStream;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFWriteStream.rbbas;&h6A967B2F;&h2D71DF31;false Interface=CFPropertyList;TT's SmartPreferences/MacOSLib (partial)/CoreFoundation/CFPropertyList.rbbas;&h3D71C2FA;&h2D71DF31;false BuildSteps=Build Automation;Build Automation.rbbas;&h462DD5CE;&h0;false DefaultWindow=StartupWin AppMenuBar=MenuBar1 MajorVersion=1 MinorVersion=0 SubVersion=0 NonRelease=0 Release=3 InfoVersion= LongVersion= ShortVersion=1.0 WinCompanyName= WinInternalName= WinProductName= AutoIncrementVersionInformation=False BuildFlags=&h4000 BuildLanguage=&h0 DebugLanguage=&h0 Region= WindowsName=AquaticPrime Developer RB.exe MacCarbonMachName=AquaticPrime Developer RB LinuxX86Name=AquaticPrime_Developer_RB MacCreator=Aqu1 MDI=0 MDICaption= DefaultEncoding=&h0 AppIcon=AquaticPrime.rbres;&h0 OSXBundleID=com.github.aquaticprime.rbdevapp DebuggerCommandLine= UseGDIPlus=False UseBuildsFolder=False IsWebProject=False
View
1 Source/RealBasic/Build Automation.rbbas
@@ -0,0 +1 @@
+#tag BuildAutomation
View
2 Source/RealBasic/CreateWin.rbfrm
@@ -1 +1 @@
-#tag Window
+#tag Window
View
10 Source/RealBasic/Resources/AppleScriptDictionary.sdef
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
+<dictionary title="Zip Licensor Terminology">
+ <suite name="Zip Licensor Suite" code="Aqu1" description="Zip Licensor commands">
+ <command name="write license file" code="Aqu1gLic" description="Writes a license file based on the currently entered key pairs and additional fields.">
+ <direct-parameter description="The name and email fields, separated by a Tab char" type="string"/>
+ <result description="path to the generated file" type="file"/>
+ </command>
+ </suite>
+</dictionary>
View
10 Source/RealBasic/Resources/Info-addon.plist
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>OSAScriptingDefinition</key>
+ <string>AppleScriptDictionary.sdef</string>
+ <key>NSAppleScriptEnabled</key>
+ <true/>
+</dict>
+</plist>

0 comments on commit 05dfd89

Please sign in to comment.