[Repost] Keystroke command
[Repost] Keystroke command
- Subject: [Repost] Keystroke command
- From: Marcus Rodrigues <email@hidden>
- Date: Fri, 22 Aug 2003 18:39:05 -0300
I don't know if my message was delivered correctly or if I missed the
answer, so here it goes again:
If anyone will try the script, you can use my iChat
"email@hidden" for testing...
Thx =-D
Does the keystroke command have a limit of characters???
I did a script to get the content of a Mail message e send it in iChat,
but it cripples my message :-/
Any idea???? Here is my code:
on perform_mail_action()
tell application "Mail"
repeat with msg in messages of mailbox "INBOX" of account 1
if msg's subject is "rafa" then
set theContent to (get content of msg as Unicode text)
set texto to "Rafa, estou enviando isto remotamente do meu celular
via AppleScript!! Meu recado C):" & theContent & "P-)"
end if
end repeat
tell application "iChat"
set chatBuddy to "email@hidden"
open location "aim:goim?screenname=" & chatBuddy
tell application "iChat" to activate
tell application "System Events"
tell process "iChat"
keystroke texto
delay 5
keystroke return
end tell
end tell
end tell
end tell
end perform_mail_action
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.
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.