• 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
GUI Help Press button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GUI Help Press button


  • Subject: GUI Help Press button
  • From: John Haley <email@hidden>
  • Date: Thu, 15 May 2003 08:45:24 -0500

I am using ScriptEditor beta 2 on OS X 10.2.6. I need to click or
press the "Edit" button. the UI Element Inspector.

<AXApplication: AccountEdge>
<AXWindow: Cards List>
<AXButton: Edit>

Attributes:
AXRole: AXButton
AXRoleDescription: AXButton
AXChildren: <array of size 0>
AXParent: <AXWindow: Cards List>
AXTitle: Edit
AXWindow: <AXWindow: Cards List>
AXPosition: x=804 y=608
AXSize: w=64 h=20
AXEnabled: 1

Actions:
AXPress - press

I have tried:
tell application "System Events"
tell process "AccountEdge"
set frontmost to true
end tell
keystroke "f" with command down
delay 3
keystroke "Cushman & Wakefield/Premisys, Inc. Marathon Oile"
keystroke return
tell process "AccountEdge"
tell window "Cards List"
click button "Edit"
end tell
end tell
keystroke "Cushman & Wakefield/Premisys, Inc. Marathon Oil"
keystroke return
keystroke "w" with command down
keystroke "w" with command down
end tell

It acts like it works if you read the "Event Log", but the button is
not pressed.


I tried this also since it is the default button, all you have to do is
click the enter key (Not the return key), but this didn't make anything
happen either.

tell application "System Events"
tell process "AccountEdge"
set frontmost to true
end tell
keystroke "f" with command down
delay 3
keystroke "Cushman & Wakefield/Premisys, Inc. Marathon Oile"
keystroke return
keystroke enter key
keystroke "Cushman & Wakefield/Premisys, Inc. Marathon Oil"
keystroke return
keystroke enter key
keystroke "w" with command down
keystroke "w" with command down
end tell


Any help would be appreciated.

Thanks ,
John
_______________________________________________
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: GUI Help Press button
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: OS version?
  • Next by Date: Re: GUI Help Press button
  • Previous by thread: Entourage password identities
  • Next by thread: Re: GUI Help Press button
  • Index(es):
    • Date
    • Thread