System Event & TextEdit & Mac Os 10.2
System Event & TextEdit & Mac Os 10.2
- Subject: System Event & TextEdit & Mac Os 10.2
- From: Bernardo Hoehl <email@hidden>
- Date: Fri, 17 Sep 2004 11:37:09 -0300
Hi List!
I have this script that I am using do build a Demo of my Applications, it simulates typing.
It works fine on Os 10.3.5, but in OS 10.2, I get an error that the pressKey event is not understood.
Could you help me?
Thanks!
Bernardo
Code:
tell application "TextEdit"
activate
end tell
my typeText("Eu posso interagir com seus aplicativos, como estou fazendo no TextEdit agora," & return & "por exemplo: digitando texto lentamente," & return & "ou mesmo...Digitar texto" & return)
on texto)
set the_item to 1
repeat with i from 1 to the count of texto
set theChar to character the_item of texto
tell application "System Events"
keystroke theChar
end tell
set the_item to the_item + 1
delay 0.2
end repeat
end typeText _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden