• 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
Re: Keystroke a period or numbers ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keystroke a period or numbers ?


  • Subject: Re: Keystroke a period or numbers ?
  • From: Irwin Poche <email@hidden>
  • Date: Sat, 12 Apr 2003 19:30:32 -0500

Below should read: This script types "aa"

On 4/12/03 6:55 PM, Irwin Poche said:

> That9s interesting. For me adding the delays alters the results seen with
> the loop and the punctuation slightly but still no numbers or period.
> Pointing it to different applications has no effect either. I am using
> 10.2.5 and AS 1.91. What do you have ?
>
> This script types 3aa2
>
> tell application "TextEdit"
> activate
> end tell
> tell application "System Events"
> tell process "TextEdit"
> keystroke "a012.a"
> end tell
> end tell
>
>
>
>
>
>
> On 4/11/03 9:26 PM, Deivy Petrescu said:
>
>> tell application "TextEdit"
>> activate
>> end tell
>> tell application "System Events"
>> tell process "TextEdit"
>>
>> keystroke "abcdefghijklmnopqrstuvwxyz"
>> delay 1
>> keystroke return
>> delay 1
>> keystroke "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
>> delay 1
>> keystroke return
>> keystroke "0123456789"
>> delay 1
>> keystroke return
>>
>> keystroke "` ~ ! @ # $ % ^ & * ( ) - = _ + [ ] { } | ; ' : , . < >
>> ?"
>> keystroke return
>> delay 1
>> repeat with x from 33 to 56
>> keystroke (ASCII character x)
>> delay 1
>> keystroke return
>> end repeat
>> end tell
>> end tell
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Keystroke a period or numbers ?
      • From: Deivy Petrescu <email@hidden>
References: 
 >Re: Keystroke a period or numbers ? (From: Irwin Poche <email@hidden>)

  • Prev by Date: Re: Smile features?
  • Next by Date: Re: Keystroke a period or numbers ?
  • Previous by thread: Re: Keystroke a period or numbers ?
  • Next by thread: Re: Keystroke a period or numbers ?
  • Index(es):
    • Date
    • Thread