Mail.app and iChat
Mail.app and iChat
- Subject: Mail.app and iChat
- From: Marcus Rodrigues <email@hidden>
- Date: Mon, 11 Aug 2003 21:12:39 -0300
I fixed my last script in this way:
tell application "iChat"
set myStatus to (get status) as string
set mySM to get status message as string
set idleTime to get idle time as string
if myStatus is equal to "B+constant ****awayB;" then
set myStatus to "Away"
else if myStatus is equal to "B+constant ****avalB;" then
set myStatus to "Available"
else
set myStatus to "Offline"
end if
end tell
tell application "Mail"
try
activate
set p to {content:"Minha situaC'C#o atual no iChat:" & return & return
& "b" Meu Status do iChat C) " & myStatus & "." & return & "b" Minha
mensagem de Status C) " & mySM & "." & return & B,
"b" Meu tempo longe do aibuque C) " & idleTime & " segundos." & return
& return & "Status do iChat conseguido via AppleScript" & return &
return, visible:true}
set _message to make new outgoing message with properties p
set message signature of _message to signature 1
end try
end tell
Sorry to bother you all ;-)
But I am still looking for a way to get the path to the image of iChat
;-)
Thx!!!!!
Minha situaC'C#o atual no iChat:
b" Meu Status do iChat C) Available.
b" Minha mensagem de Status C) Comprei um T68i!!!!!! :-D.
b" Meu tempo longe do aibuque C) 0 segundos.
Status do iChat conseguido via AppleScript
o#? Marcus Rodrigues o#?
iBook 600 - Combo - Jaguar
CC4nsul do Brasil Apple Clube - Caxias do Sul
Moderador BAC-Macusers
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.