Away Messages don't execute Script items

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
SenorMano
Harmless
Posts: 2
Joined: Wed Feb 01, 2006 11:43 pm

Away Messages don't execute Script items

Post by SenorMano »

For quite some time, I was able to include the code to execute various scripts in my away messages. For example, I could put /pun into the text of my away message. When the auto-reply happened, it would execute the /pun using the appropriate AppleScript and the recipient would see the results.

After an Adium upgrade several months ago, it broke. Now, the user sees "/pun".

I've uninstalled and reinstalled the scripts.
I've redone the away messages.
I've tried both typing the /pun into the away message and insterting it using the Edit-->Insert Script.
The scripts work fine when I type them into an active chat message

Any ideas? I couldn't find anything in other posts, or in the trac.
User avatar
Tipo 61
Grandé
Posts: 910
Joined: Fri Dec 10, 2004 11:12 pm
Location: Boston, MA
Contact:

Post by Tipo 61 »

are you putting anything in front of /pun?

Also, try creating the away message with /pun all by itself, and enter the script by using: Edit -> Insert Script
Wengero
Crema
Posts: 373
Joined: Fri Mar 18, 2005 3:37 am
Contact:

Post by Wengero »

the scripts that use "/" cant do all the things that ones that use other other symbols like "%", i dont remember what they cant do but this could be one of the things. If you want to change the "/" to something else just right click on the xtra in ~/library/application support/adium 2.0/scripts and choose show package contents. Then find the .plist file and look for where it says /pun in it and just change that to something like %pun
SenorMano
Harmless
Posts: 2
Joined: Wed Feb 01, 2006 11:43 pm

Post by SenorMano »

Thanks Tipo & Wengero -

I did have text and a paragraph break before the script call.

Switching to the % seems to have solved it.

The strange part is that I changed nothing from before... the / worked fine with text in front of it. And all of the away messages were left over from a while back. Perhaps something in an incremental upgrade changed the handling of scripts or away message processing.
User avatar
Tipo 61
Grandé
Posts: 910
Joined: Fri Dec 10, 2004 11:12 pm
Location: Boston, MA
Contact:

Post by Tipo 61 »

I think it did. A while back, they changed it because people were having problems with URLs (http://<someone's script name>) or something like that.
Post Reply