• 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: [TRTFM] Cocoa and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRTFM] Cocoa and AppleScript


  • Subject: Re: [TRTFM] Cocoa and AppleScript
  • From: Diggory Laycock <email@hidden>
  • Date: Tue, 13 Aug 2002 12:23:33 +0100

http://cocoa.mamasam.com/MACOSXDEV/2002/06/2/36804.php



On Tuesday, August 13, 2002, at 11:55 am, Jeremy Dronfield wrote:

> I'd like to include an AppleScript in my Cocoa app, but can't make head
> or tail of the numerous NSScriptXXX classes in Foundation. Also, I'm
> confused by the AS component in Interface Builder. Is it only meant to
> be used for building AS applications? I managed to get it to attach a
> script to a button's action, but at runtime I got an ASKNibInfoManager
> error: "class not loaded". Would it be better to simply call the script
> from within the button's action method in PB? If so, how?
>
> The purpose of the script is (or will be) to find the user's default
> email application (if that's possible), launch it, begin a new message
> and put some strings in the subject field and the text field.
>
> If there's a way to do all this that bypasses AppleScript altogether,
> I'd love to hear about it. I mean, I can launch Mail with NSWorkspace,
> but that's not really enough. BTW, I don't have Jaguar, hence no
> NSAppleScript.
>
> Hoping somebody can help.
> -Jeremy
>
> =======================================
> email@hidden // email@hidden
> The Alchemy Pages:
> - fractious fiction at http://freespace.virgin.net/jeremy.dronfield
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
>
Diggory Laycock
-----------------------
http://www.diggory.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >[TRTFM] Cocoa and AppleScript (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: [TRTFM] Cocoa and AppleScript
  • Next by Date: Re: [newbie]: UI questions (using NSSlider & NSTextField with delegation)
  • Previous by thread: [TRTFM] Cocoa and AppleScript
  • Next by thread: Re: [TRTFM] Cocoa and AppleScript
  • Index(es):
    • Date
    • Thread