• 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
Neophyte Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Neophyte Question


  • Subject: Neophyte Question
  • From: Stephen Bunker <email@hidden>
  • Date: Wed, 15 Feb 2006 08:04:36 -0700

I need to make a pile of buttons for a website and I thought this would be a great opportunity to try dive deeper into AppleScript.

I have written the following script but when I execute it can't get the "New" button in the window to be selected. Could someone tell me where I'm going wrong?

tell application "System Events"
tell process "GraphicConverter"
tell menu bar 1
tell menu bar item "File"
tell menu "File"
tell menu item "New"
tell menu "New Submenu"
click menu item "Image…"
end tell
end tell
end tell
end tell
end tell
end tell
end tell

tell application "System Events"
tell process "GraphicConverter"
tell window "New"
click button "New"
end tell
end tell
end tell
 _______________________________________________
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

  • Follow-Ups:
    • Re: Neophyte Question
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Another Shell Script question ftp
  • Next by Date: Open Mail Attachments
  • Previous by thread: Re: Applescript saved scripts won't open anymore
  • Next by thread: Re: Neophyte Question
  • Index(es):
    • Date
    • Thread