• 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: How create Suite Definition for an AppleScript handler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How create Suite Definition for an AppleScript handler?


  • Subject: Re: How create Suite Definition for an AppleScript handler?
  • From: julifos <email@hidden>
  • Date: Fri, 09 May 2003 10:43:59 +0200

> I have an AppleScript Studio application, which has a handler (that I
> have written) and which I want to make accessible from outside of the
> application - i.e I want to make the app scriptable, with the sole
> command being a call to that handler.
>
> The Devolopment Documentation "Working With Suite Definitions and
> Suite Terminologies" says about the relevant keys in the definition:
>
> "each scriptable class must be the name of an Objective-C or Java Cocoa class"
>
> However, my handler is an AppleScript handler, not some C class. How
> do I provide my handler in a Suite Definition so that my application
> can become scriptable, i.e so that the handler can be called from
> outside of the application?
>
> I have already searched the archives, and that has started to get me
> an unpleasant suspicion that it's not even possible to do what I
> want! Chris Nebel said in April 2002 "Unfortunately, defining real
> object model
> scriptability in AppleScript is not currently possible." I sincerely
> hope that my suspicion is completely wrong as of 2003... or .....?
>
> PS: I know this question should be sent to the AppleScript Studio
> list, and I did that yesterday! But I got no response at all, so I am
> hoping for better luck here... or is the question really unclear?...
> no, can't be... I think it's a pretty straightforward and clear
> question...

Also, last week I sent this question to this list, the ASS one and the
Implementors one. Maybe we need an experienced cocoa/C programmer to write
such code.

Don Briggs has some samples and a great tool (Suite Modeler) to make
cocoa-scriptable applications <http://homepage.mac.com/donbriggs/>. I think
that for an experienced programmer wouldn't be very difficult throw a little
bridge between cocoa/c and applescript.

Definitivelly, I think this would be a great feature for all us!

JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Frontmost document??
  • Next by Date: Re: "idle" has different effect in X vs 9?
  • Previous by thread: How create Suite Definition for an AppleScript handler?
  • Next by thread: OT spam filtering redux (was Re: "idle" has different effect in X vs 9?)
  • Index(es):
    • Date
    • Thread