Keystroke command
Keystroke command
- Subject: Keystroke command
- From: Marcus Rodrigues <email@hidden>
- Date: Tue, 19 Aug 2003 18:19:28 -0300
Does the keystroke command have a limit of caraters???
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.