Page 1 of 1

Need Help Figuring out about Basic Scripting

Posted: Sun Apr 03, 2005 11:43 pm
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

Posted: Mon Apr 04, 2005 1:03 pm
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.

Posted: Mon Apr 04, 2005 9:13 pm
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.

Posted: Tue Apr 05, 2005 10:09 pm
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.

Posted: Thu Apr 07, 2005 3:41 am
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

Posted: Thu Apr 07, 2005 7:32 am
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...

Posted: Sun Apr 10, 2005 11:11 am
by Reikon

Posted: Sun Apr 10, 2005 8:44 pm
by zaudragon
Aren't we talking about AppleScript here?