Re: UI Scripting and sub-sub-menus in Photoshop
Re: UI Scripting and sub-sub-menus in Photoshop
- Subject: Re: UI Scripting and sub-sub-menus in Photoshop
- From: James Burton <email@hidden>
- Date: Tue, 20 Jan 2004 16:59:11 -0700
Somewhere on the Apple site, among the Applescript stuff, there's a web
page that explains how to reach sub-menus. Sorry, I don't recall
exactly where, try Google.
On Jan 20, 2004, at 3:50 PM, Martin Orpen wrote:
Anybody have any tips for clicking sub-sub-menus in Photoshop?
I can access ordinary menu items in this way:
tell application "Adobe Photoshop 7.0"
activate
tell application "System Events"
tell process "Adobe Photoshop 7.0"
tell menu bar 1
tell menu "Filter"
click menu item "Liquify..."
end tell
end tell
end tell
end tell
end tell
But I can't reach the stuff that is another level down - for instance:
Filter => Render => Clouds
UI Element Inspector gives:
<AXApplication: 3Photoshop2>
<AXMenuBar: 32>
<AXMenuBarItem: 3Filter2>
<AXMenu: 3Filter2>
<AXMenuItem: 3Render2>
<AXMenu: 3Filter Hierarchical 62>
<AXMenuItem: 3Clouds2>
But I can't work out a way to describe "Filter Hierarchical 6" in the
script
- and telling menu (or menu item) "Render" to click menu item "Clouds"
won't
work :(
What am I missing?
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.