UI Scripting and sub-sub-menus in Photoshop
UI Scripting and sub-sub-menus in Photoshop
- Subject: UI Scripting and sub-sub-menus in Photoshop
- From: Martin Orpen <email@hidden>
- Date: Tue, 20 Jan 2004 22:50:57 +0000
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.