Add custom sdef to AppleScript applet?
Add custom sdef to AppleScript applet?
- Subject: Add custom sdef to AppleScript applet?
- From: Kevin Walzer <email@hidden>
- Date: Sun, 16 Oct 2011 17:27:01 -0400
- Organization: WordTech Communications LLC
Not sure this is the right mailing list for this, but as traffic at the
AppleScript implementors list is very thin, I thought I might find an
answer here.
I'm developing an application using a language and GUI toolkit (Ruby for
the langauge, Tk for the toolkit) that lack native support for
AppleScript commands, i.e. there is no current way for the application
to respond to Apple events being sent to it. I could muck around in C
and try to add Ruby hooks for Apple Event support that I could then
access via a scripting dictionary, but I'm not keen on going that route.
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."
Not sure if anyone has tried this, but any advice is appreciated.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
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