Re: Add custom sdef to AppleScript applet?
Re: Add custom sdef to AppleScript applet?
- Subject: Re: Add custom sdef to AppleScript applet?
- From: Shane Stanley <email@hidden>
- Date: Tue, 18 Oct 2011 10:36:45 +1100
On 17/10/2011, at 8:27 AM, Kevin Walzer wrote:
> I was wondering if it is possible, using the new features in AppleScript/Objective-C and AppleScript Editor, to create an AppleScript-Cocoa applet that implements a custom sdef interface. My idea is to create a helper app that could provide the custom AppleScript dictionary I'm seeking for my Ruby app that could pass commands to the Ruby app via "do shell script."
It's not going to be possible outside Xcode. An "AppleScript-Cocoa applet" is just a Cocoa app, really, and implementing scripting in one is the same as any other app: you write an sdef, and you implement script support the same way -- only the language you use is potentially different.
And if it can be driven from "do shell script", I'd have to wonder whether it was worth the effort.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden