• 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
[Repost] Keystroke command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.

  • Prev by Date: Re: New Adress in Address Book
  • Next by Date: Re: How does one paste in OS9.2.2
  • Previous by thread: Re: New Adress in Address Book
  • Next by thread: Hotlist webpage script/Tex-Edit
  • Index(es):
    • Date
    • Thread