• 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: GU I scripting and Airport passwords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GU I scripting and Airport passwords


  • Subject: Re: GU I scripting and Airport passwords
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 17 Oct 2008 07:41:36 -0400
  • Thread-topic: GU I scripting and Airport passwords

on 2008-10-17 5:08 AM, Axel Luttgens at email@hidden wrote:

> So, this seems to be working as intended here:
>
> tell application "SystemUIServer" to activate
> tell application "System Events"
> tell application process "SystemUIServer"
> tell window 1
> tell text field 1
> keystroke "abc"
> keystroke return
> end tell
> end tell
> end tell
> end tell

The 'keystroke' command only needs to be targeted at the application
process, not at a specific UI element. The keystroke is then automatically
sent to whatever UI element is currently active (has keyboard focus) in that
application, except that most applications will treat keystrokes with
command down as keyboard shortcuts.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: GU I scripting and Airport passwords
      • From: Axel Luttgens <email@hidden>
References: 
 >Re: GU I scripting and Airport passwords (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: GU I scripting and Airport passwords
  • Next by Date: Re: GU I scripting and Airport passwords
  • Previous by thread: Re: GU I scripting and Airport passwords
  • Next by thread: Re: GU I scripting and Airport passwords
  • Index(es):
    • Date
    • Thread