Search found 3 matches

by silkcom
Mon Jan 25, 2010 11:06 pm
Forum: Adium
Topic: Using Applescript (or anything) to open a chat window
Replies: 2
Views: 2317

Re: Using Applescript (or anything) to open a chat window

I've gotten better, but not perfect code. Here's my code: tell application "Adium" if exists contact "contact@gmail.com" then set mycontact to contact "contact@gmail.com" if not (exists (chats whose contacts contains mycontact)) then set the_window to get every chat win...
by silkcom
Wed Jan 06, 2010 10:05 pm
Forum: Adium
Topic: Applescript: how to change active chat?
Replies: 1
Views: 1264

Re: Applescript: how to change active chat?

Is this a difficult thing to do? or is no one looking? :) I'm also wondering this, i've tried this code, but it's not working: set allchats to every chat set found to false repeat with onechat in allchats if (id of contact of onechat as string) is (id of contact "contact@gmail.com" as stri...
by silkcom
Wed Jan 06, 2010 6:20 pm
Forum: Adium
Topic: Using Applescript (or anything) to open a chat window
Replies: 2
Views: 2317

Using Applescript (or anything) to open a chat window

I'm having troubles creating an applescript to open a chat window to a specific person. I'm trying to write a small script that I can pass a display name or email and it will open a chat window to that person and make it active. I don't care if it makes a new window or not. I'd like it to be account...