HTML in Adium AppleScript
Posted: Mon Aug 07, 2006 8:24 pm
I was wondering if there was a way to insert HTML in an AppleScript for Adium. I know that this can be done in a regular script, but to incorporate it for Adium I run into a few problems.
1. I cannot make a quote generator include a hyperlink, since ScriptEditor finds two sets of quotes, "<insert stuff here>"<a href="http://example.com">Clicky.</a>" The set of quotes inside another set of quotes confuses ScriptEditor.
2. If I try putting a simple http://www.example.com in AppleScript without it being a hyperlink, the :/ is converted to an Emoticon/Smiley. Apparently if I disable that one smiley in my preferences, it still shows up for other people.
Is there somthing that you must do for HTML to work in quote generators, or is there another way to format the script besides:
1. I cannot make a quote generator include a hyperlink, since ScriptEditor finds two sets of quotes, "<insert stuff here>"<a href="http://example.com">Clicky.</a>" The set of quotes inside another set of quotes confuses ScriptEditor.
2. If I try putting a simple http://www.example.com in AppleScript without it being a hyperlink, the :/ is converted to an Emoticon/Smiley. Apparently if I disable that one smiley in my preferences, it still shows up for other people.
Is there somthing that you must do for HTML to work in quote generators, or is there another way to format the script besides:
Code: Select all
on substitute()
set whatever_list to some item of {"<insert quote 1 here>", "<insert quote 2 here>", "<insert quote 3 here>"}
return whatever_list & " -Somebody's name"
end substitute