| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am trying (still) to get a handle on GUI scripting and am finding myself moving backwards, not forwards. Below is the simple script I'm testing:
tell application "TextEdit" to activate
tell application "System Events"
if UI elements enabled then
click menu item "New" of menu "File" of menu bar item "File" of menu bar 1 of application "TextEdit"
| References: | |
| >UI Scripting flaking out on simple tasks (From: Henrik Boes <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.