Send AppleScript-Users mailing list submissions to
email@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/applescript-users
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of AppleScript-Users digest..."
Today's Topics:
1. Add custom sdef to AppleScript applet? (Kevin Walzer)
----------------------------------------------------------------------
Message: 1
Date: Sun, 16 Oct 2011 17:27:01 -0400
From: Kevin Walzer <email@hidden>
Subject: Add custom sdef to AppleScript applet?
To: email@hidden
Message-ID: <
email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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
------------------------------
_______________________________________________
AppleScript-Users mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/applescript-users
End of AppleScript-Users Digest, Vol 8, Issue 471
*************************************************