Re: iChat script has stopped working
Re: iChat script has stopped working
- Subject: Re: iChat script has stopped working
- From: LuKreme <email@hidden>
- Date: Sat, 11 Sep 2010 20:34:35 -0600
On 11-Sep-2010, at 15:28, Axel Luttgens wrote:
>
> tell application "iChat"
> name of services whose service type is AIM
> end tell
Ah, that seems to have got me on the right path.
tell application "System Events" to set theCount to the count of (processes whose name is "iChat")
if theCount = 0 then
tell application "iChat" to launch
else
tell application "iChat"
if status of (first service whose service type is AIM) is offline then
log out
delay 1
log in
end if
end tell
end if
Appears to be working. Thanks!
--
This was music that had not only escaped but had robbed a bank on the
way out. It was music with its sleeves rolled up and its top button
undone, raising its hat and grinning and stealing the silver. It was
music that went down to the feet by way of the pelvis without paying a
call on Mr. Brain. --Soul Music
_______________________________________________
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