Help! Adium Script

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
User avatar
djmori
Mocha
Posts: 522
Joined: Sun Dec 05, 2004 2:08 am
Location: Bogota, Colombia
Contact:

Help! Adium Script

Post by djmori »

Hi everyone. I made this little script that searchs for blogs, grabing the name of buddys in adium (the name of the buddy youre currently chating with)...

The scripts works fine from the editor, but I have'nt been able to add it into adium.
Can someone give me a hand?

http://s51.yousendit.com/d.aspx?id=14H2 ... S230S88TNI
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Well let’s see…

Code: Select all

(* 
Search for Adium contacts' blogs by Carlos A. Morales T.
(http://moralec.blogspot.com) Oct 29, 2005
	*)
on substitute()
	tell application "Adium"
		tell the active chat of the first interface controller
			set nombre to chat name
		end tell
	end tell
	tell application "Safari"
		open location "http://www.google.com/blogsearch?hl=en&q=" & nombre & "&btnG=Search+Blogs"
	end tell
end substitute
That should work.
Blog | X(tras)
Communists code without classes.
User avatar
djmori
Mocha
Posts: 522
Joined: Sun Dec 05, 2004 2:08 am
Location: Bogota, Colombia
Contact:

Post by djmori »

yep that was it. :P

On xtras site now.
Post Reply