Need Help Figuring out about Basic Scripting

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
class07
Harmless
Posts: 7
Joined: Sun Apr 03, 2005 11:40 pm

Need Help Figuring out about Basic Scripting

Post by class07 »

Is there a place where it is kinda layed out how to make an adium script or do I have to figure it out by myself. I have been looking for some time now and finally decided that i would just register and ask.
Any help is greatly appreciated.

This was pretty vague. I understand how to script what i don't understand is how to get a command from adium to activate a script and what is neede to create a .adiumscripts
User avatar
twopeak
Crema
Posts: 407
Joined: Tue Jan 25, 2005 2:53 pm
Location: Flanders - Belgium

Post by twopeak »

it's necessary that you get at least a basic idea of AppleScript before you can start making scripts for Adium.

There are some decent sites with tutorials, but not that many.

You can also learn by looking at other peoples code. Do so by opening the context menu on a .adiumscript, and choose "view package content" then locate the script and open it.
To find all the commands you can issue to Adium,
in the script editor, file menu (I think) choose the option "open dictionary" and there select Adium.
It will show you all the command/properties/... you can set.

But get some AppleScript course first. It's useless to edit scripts ifyou don't know about AppleScript.
class07
Harmless
Posts: 7
Joined: Sun Apr 03, 2005 11:40 pm

Post by class07 »

I figured it out The problem wasn't so much the scripting it was how to use the property listto I could call things by typing a command in Adium.
I have a script pending now as the case may be.
aperantos
Harmless
Posts: 18
Joined: Tue Feb 08, 2005 1:31 am
Location: London, UK

Post by aperantos »

twopeak wrote:There are some decent sites with tutorials, but not that many.
Do you have any links? I am sure I saw one once but do not seem to have bookmarked it and cannot find it via google.

Officially I have no idea what to do. I just copied an existing .adiumscript to use as a template, and then modified the plist file and replaced the script with my own.

That is pretty much the method I use ro learn any programming language though!

Michael.
class07
Harmless
Posts: 7
Joined: Sun Apr 03, 2005 11:40 pm

Post by class07 »

aperantos wrote:
twopeak wrote:There are some decent sites with tutorials, but not that many.
Do you have any links? I am sure I saw one once but do not seem to have bookmarked it and cannot find it via google.

Officially I have no idea what to do. I just copied an existing .adiumscript to use as a template, and then modified the plist file and replaced the script with my own.

That is pretty much the method I use ro learn any programming language though!

Michael.
That is the exact method I used
User avatar
twopeak
Crema
Posts: 407
Joined: Tue Jan 25, 2005 2:53 pm
Location: Flanders - Belgium

Post by twopeak »

That's a good way to learn, but if you would like to be sure you're "doing the right thing" then use google.
I think most people learned like that...

It learned me there is http://www.macscripter.net ; http://developer.apple.com/documentation/AppleScript/ ; and there must be some more...
Image
Reikon

Post by Reikon »

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

Post by zaudragon »

Aren't we talking about AppleScript here?
Blog | X(tras)
Communists code without classes.
Post Reply