Hey everyone, got a question for the Applescript gurus here! (zaudragon, are you around?!)
I've been trying to write an applescript which will initiate a new chat with someone on your contact list. However I'm struggling to understand how to do this as the library for Applescript isn't very helpful.
Can anyone post a (working!) example please? I have plenty of non-working ones. Something that works with the current v0.82 release if possible. Credit *will* be given where due.
Thanks,
Ben.
applescript "new chat" command
- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
Let's try off of the top of my head:
Of course, it's from my memory. Try it; tell me if it doesn't work.
Code: Select all
tell application "Adium"
new chat with contact "screennamegoeshere"
end tellWell, the correct equivalent of that is:
Which compiles OK but doesn't do anything. Adding "on service "service" " is the same. This is what I found so confusing.
Code: Select all
tell application "Adium"
create chat with UID "screenname"
end tell- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
Well then, why did you ask? Adium 0.8x has a known AppleScript bug; some commands just don't do anything.Ludge wrote:Well, the correct equivalent of that is:
Which compiles OK but doesn't do anything. Adding "on service "service" " is the same. This is what I found so confusing.Code: Select all
tell application "Adium" create chat with UID "screenname" end tell
Because I thought that I might have been doing something wrong that another person could point out.zaudragon wrote:Well then, why did you ask? Adium 0.8x has a known AppleScript bug; some commands just don't do anything.Ludge wrote:Well, the correct equivalent of that is:
Which compiles OK but doesn't do anything. Adding "on service "service" " is the same. This is what I found so confusing.Code: Select all
tell application "Adium" create chat with UID "screenname" end tell
Also there didn't seem to be anything like this on trac, so figured it was worth checking here.
I'll post a couple that have already been submitted to trac:
#593 Getting "my status" doesn't work properly
#574 You can only set your status to "Available" (and I do realise you can change your status message)
And two more:
"Create chat" doesn't seem to work (if it does, please correct me!).
Enhancement request: Being able to retrieve a contacts group along with the other data like long display name and serviceClass.
#593 Getting "my status" doesn't work properly
#574 You can only set your status to "Available" (and I do realise you can change your status message)
And two more:
"Create chat" doesn't seem to work (if it does, please correct me!).
Enhancement request: Being able to retrieve a contacts group along with the other data like long display name and serviceClass.
Adium Dictionary
I've seen a couple places where this is referred to, but I can't seem to actually find the "Adium Dictionary".
I'm very new to AppleScript, but would like to write a Automator function/AppleScript that duplicated Proteus's SMS Forwarding.
Thanks!
I'm very new to AppleScript, but would like to write a Automator function/AppleScript that duplicated Proteus's SMS Forwarding.
Thanks!
