• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Add custom sdef to AppleScript applet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Add custom sdef to AppleScript applet?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Lion broke scripts
  • Next by Date: Re: AppleScript-Users Digest, Vol 8, Issue 471
  • Previous by thread: Re: Major bug saving email with attachments as RTFD in Lion
  • Next by thread: Re: Add custom sdef to AppleScript applet?
  • Index(es):
    • Date
    • Thread