Page 1 of 1

Making a script, how do I?

Posted: Sun Aug 21, 2005 6:45 am
by Real_Me
Hey there,

Love Adium, it's the best, it rocks, soooo coooool.

I just want a little script to insert current time and perhaps date. But I know very little on how to make scripts and then to actually put them into Adium as well.

Adium build 0.82 (haven't seen if there is an update)

OSX TIGER!!! 10.4.2

Any help would be apreciated, ta

Posted: Sun Aug 21, 2005 6:55 am
by zaudragon
What do you mean? An applescript?

Just open up an existing one and edit all the files.

Posted: Sun Aug 21, 2005 7:01 am
by Real_Me
woops, you answered while I had to edit me post because I woops, accidently clicked submit. Is the question clear now?

Posted: Sun Aug 21, 2005 7:44 pm
by zaudragon
Real_Me wrote:woops, you answered while I had to edit me post because I woops, accidently clicked submit. Is the question clear now?
You could use:

Code: Select all

on substitute()
	return do shell script "date"
end substitute
Open up an existing .AdiumScript, put that code in the .scpt file under Resources, edit the Info.plist to your liking, and then open the resulting .AdiumScript in Adium.