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

Sending Hyperlink IM through Applescript


  • Subject: Sending Hyperlink IM through Applescript
  • From: Steve Sheets <email@hidden>
  • Date: Fri, 19 Nov 2004 15:19:24 -0500

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
  • Follow-Ups:
    • Re: Sending Hyperlink IM through Applescript
      • From: Evan Schoenberg <email@hidden>
  • Prev by Date: resetting sorting on a tableview
  • Next by Date: Re: Sorting Attributed Strings w/Bindings
  • Previous by thread: resetting sorting on a tableview
  • Next by thread: Re: Sending Hyperlink IM through Applescript
  • Index(es):
    • Date
    • Thread