• 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
changing text format in ichat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing text format in ichat


  • Subject: changing text format in ichat
  • From: Yuma Antoine Decaux <email@hidden>
  • Date: Sun, 25 Mar 2012 22:32:30 +1300

Hi all,

I've been able to do quite some stuff with persistence on the new messages beta application. All it's commands are apparently taken from ichat, and i tried gui and non gui scripting, all works really cool and much faster than some other methods i was trying for my final script.

Past the functional bit, i wanted to ask if anyone knew a good way of formatting strings that i collect from various areas of my script. I saw properties for text such as color, size and font type (couldn't find typeface like bold italic, etc but...). However in the dictionary for ichat, these properties are in the text suite, linked to commands in the ichat suite. I tried some property calling outside of ichat,thinking it would work but A.S doesn't recognize them.

Do i have to localise all property calls for the formatting to behave as it should?

Say--global properties
Set thestring to item x of document "z"
Set thestring to thestring with properties {color:red, size:13}

Tell application "Ichat"
Send thescript to buddy ID blablah
End tell

Just making things short, this is pretty much the hierarchy of the variable. But it doesn't work.

Anyone know or has done this before?

The idea is to blow out a figure and give it a specific color so that each recipient can see very quickly on their phones when the alert is sounded.


Any help greatly appreciated, just a link tah speaks about text formatting in ichat with A.S will do :)


Best regards,

Yuma



 _______________________________________________
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

  • Follow-Ups:
    • Re: changing text format in ichat
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: How to determine if iTunes has been updated or a sync has occurred?
  • Next by Date: Re: changing text format in ichat
  • Previous by thread: Re: How to determine if iTunes has been updated or a sync has occurred?
  • Next by thread: Re: changing text format in ichat
  • Index(es):
    • Date
    • Thread