• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Taking iChat offline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Taking iChat offline


  • Subject: Taking iChat offline
  • From: Chris Pepper <email@hidden>
  • Date: Thu, 13 Sep 2007 10:00:00 -0400

All,

iChat gets a bit confusing if left running on multiple machines. I want to bring all accounts offline every night. I see that if I (re-)launch iChat, it attempts to log in all accounts.

I've tried several techniques to bring iChat offline, but I find AppleScript confusing (/bin/sh is more my speed). The best I've done so far has been to launch iChat if it wasn't already running, then have it quit. This is suboptimal -- I'd like to keep it open so conversations are not closed, and don't want my buddies to see me pop up and then vanish when iChat launches/logs in. I tried killall, but couldn't find a signal that makes iChat logout without quitting.

Presumably there's a reasonably straightforward way to tell iChat to take all accounts offline, *IFF* it was running in the first place. I can then 'open' the script from my cron, or (if it's simple enough), embed it into my crontab directly with "osascript".

So can anyone here tell me how to do the AppleScripting part, or give me a pointer? I assume there are many scripts that need to do a quit-if-running, but haven't found any yet...


Thanks much,


Chris Pepper -- Chris Pepper: <http://www.reppep.com/~pepper/> <http://www.extrapepperoni.com/> The Rockefeller University: <http://www.rockefeller.edu/> _______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Taking iChat offline
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Re: A Different Rsync Question
  • Next by Date: Re: A Different Rsync Question
  • Previous by thread: Re: A Different Rsync Question
  • Next by thread: Re: Taking iChat offline
  • Index(es):
    • Date
    • Thread