image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old December 21st, 2003, 03:06 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,016
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
iChat command line on/off?

Is there a way to Connect/Disconnect and/or set the Available/Away status of iChat from the command line?

I know I can launch it and kill it's process command line, but that's not quite what I'm after.

Are there any other choices?
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
  #2  
Old December 21st, 2003, 05:11 PM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 7,759
Thanks: 2
Thanked 23 Times in 23 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Disconnect for sure .. sometimes ichat gets stuck, and I kill if from command line. So top and then kill whatever number it shows for iChat agent. Never tried to connect from terminal though.
Reply With Quote
  #3  
Old December 21st, 2003, 06:47 PM
phatcactus's Avatar
The Ugly Organist
 
Join Date: Aug 2002
Location: Chicago
Posts: 330
Thanks: 0
Thanked 0 Times in 0 Posts
phatcactus is on a distinguished road
An Applescript would surely be of some use.
__________________
Pedestrian: Quality Chicago Heights Rock!
http://www.pedestrianisaprettygoodband.com/
Reply With Quote
  #4  
Old December 27th, 2003, 09:49 PM
Registered User
 
Join Date: Sep 2000
Location: Stockholm, Sweden
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
glemme is on a distinguished road
Use AppleScript together with:
osacompile(1) - compile AppleScripts and other OSA language scripts
osascript(1) - execute AppleScripts and other OSA language scripts

And you should have a working solution..

/glemme
Reply With Quote
  #5  
Old December 28th, 2003, 06:48 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,016
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
Quote:
Originally Posted by glemme
Use AppleScript together with:
osacompile(1) - compile AppleScripts and other OSA language scripts
osascript(1) - execute AppleScripts and other OSA language scripts

And you should have a working solution..

/glemme
Huh?

Can you give me the step-by-step Applesript newbie verson of this answer?
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
  #6  
Old January 14th, 2004, 10:14 AM
Registered User
 
Join Date: Sep 2000
Location: Stockholm, Sweden
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
glemme is on a distinguished road
Just write an applescript that does what it is supposed to do. Read the applescript documentation for iChat.
After that is done. Use the script toghether with the CLI tools osacompile and osascript to make a CLI app that does what you want it to.
Simple enough? I am not in here that often so try it yourself first...

/glemme
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:14 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.