• 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: Sending Hyperlink IM through Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending Hyperlink IM through Applescript


  • Subject: Re: Sending Hyperlink IM through Applescript
  • From: Evan Schoenberg <email@hidden>
  • Date: Fri, 19 Nov 2004 17:38:49 -0600

<plug> You can send HTML to Adium. </plug> ;-)

-Evan

On Nov 19, 2004, at 2:19 PM, Steve Sheets wrote:

This is a combination Applescript and Cocoa question. I am creating on the fly Applescripts from within a Cocoa applications, and sending them to various programs. Most of the scripts are use to send Instant Messages to iChat, AIM, etc. The program works fine using normal scripting commands to send straight text. However, I also want to send hyperlinked text (ie. text with imbedded URLs). How can you do this from within an Applescript? Applescript seems to always assume the string data is straight Text. There seems to be no way to show it a Rich Text or HTML (the applications can handle this data if you copy/paste it from clipboard). Has anyone done this or have source code? It would be nice to able to send this strictly from script (ex using Script Editor), but if I have to parse an AEObject, I would be willing to do that. The killer is that I think I created similar code to do this last year, but lost it in a disk crash <sigh>.

Please email here, and CC me directly at email@hidden.

Steve Sheets


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Sending Hyperlink IM through Applescript (From: Steve Sheets <email@hidden>)

  • Prev by Date: NSSegmentedControl as toolbar item of a textured window
  • Next by Date: Collapse / Expand View
  • Previous by thread: Sending Hyperlink IM through Applescript
  • Next by thread: NSFilenamesPboardType
  • Index(es):
    • Date
    • Thread