AppleScript C Perl Shell Xcode Other

How to send an ICQ short message without actually using ICQ or Audium?

Post Reply
coding / perl     Views: 64861Prev .. Next
How to send an ICQ short message without actually using ICQ or Audium?Posted: Saturday, September 18, 2010 [02:16:08] - 1
Posted by:GenePosts: 3
Is there a way to send a short ICQ message from the script?
I should probably post it in an Applescript section, but I prefer something written in Perl.
Thanks!
RE: How to send an ICQ short message without actually using ICQ or Adium?Posted: Friday, September 24, 2010 [03:59:20] - 2
rootPosted by:rootMember Since:
June 16 2010
Posts: 356
I am not sure, it probably could be done, but ICQ changes procedures too often. It's much easier to use Adium to send a message:
View Codetell application "Adium"
activate
tell account "012345" to make new chat with contacts {contact "012346"} with new chat window
send the active chat message "Your Message"
tell the first chat window to close
end tell
-- Optionally quit the Adium
tell application "Adium" to quit

That's about it.
You could run the script from Perl, let Perl create a message and the script.
Save the script and run it:
View Code`osascript /your.script.scpt`;

Hope it helps..There's no place like ~
coding / perlPrev .. Next
 
Post Reply
Home - Coding: AppleScript C Perl Shell Xcode Other
Our Telegram Group