• 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
Re: Add custom sdef to AppleScript applet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Add custom sdef to AppleScript applet? (From: Kevin Walzer <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 8, Issue 471
  • Next by Date: RE: Add custom sdef to AppleScript applet?
  • Previous by thread: Add custom sdef to AppleScript applet?
  • Next by thread: RE: Add custom sdef to AppleScript applet?
  • Index(es):
    • Date
    • Thread