Page 1 of 1
AdiumScript Help
Posted: Sat Jun 18, 2005 2:27 pm
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!
Posted: Sun Jun 19, 2005 4:15 am
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.
Posted: Sun Jun 19, 2005 4:47 am
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.
Posted: Sun Jun 19, 2005 3:02 pm
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.

Posted: Sun Jun 19, 2005 9:08 pm
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/)