AdiumScript Help

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
ravijo
Latté
Posts: 86
Joined: Tue Feb 15, 2005 2:46 pm
Location: Guelph, ON, Canada
Contact:

AdiumScript Help

Post by ravijo »

Hey!

I'm trying to make a script that will randomly choose a quote from a list. I have essentially hacked up the pun script, yadayadayada. My only problem is that when I throw that into my status message, it refreshes every few seconds. I would like it to choose it and stop, then choose again next time I set that away message.

Is this covered in the plist? or is this on the applescript side? and either way, how do I fix it?

thanks!
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Adium updates Away Messages automatically every 30 seconds, as well as the profile. There is no known way of keeping one result until you manually change it. Making the delay longer was my challenge with Randam++and RandIcons. You could look at that and make the delay pretty long.
Blog | X(tras)
Communists code without classes.
ravijo
Latté
Posts: 86
Joined: Tue Feb 15, 2005 2:46 pm
Location: Guelph, ON, Canada
Contact:

Post by ravijo »

Thanks!

I think I might make a request to have this accomidated for in the plist or something. Maybe there could be some string that disables the updating or something.
User avatar
noleli
Latté
Posts: 80
Joined: Sun Dec 19, 2004 7:14 pm
Location: UMich

Post by noleli »

In order to achieve longer periods of time between updates on my RSS script, I created a "helper" applescript app that updates external text files at the interval of my choosing. The actually Adium substitution script simply returns the content of those text files.

Of course, this is all relatively transparent to the user. ;)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

noleli wrote:In order to achieve longer periods of time between updates on my RSS script, I created a "helper" applescript app that updates external text files at the interval of my choosing. The actually Adium substitution script simply returns the content of those text files.

Of course, this is all relatively transparent to the user. ;)
Mine touches a preference file and writes to there. The only problem with my script is that it has inconsistent paths (path to Pictures folder as opposed to ~/Pictures/)
Blog | X(tras)
Communists code without classes.
Post Reply