InDesign XiNet Picture Wrangler GUI Scripting
InDesign XiNet Picture Wrangler GUI Scripting
- Subject: InDesign XiNet Picture Wrangler GUI Scripting
- From: Alex Kaczun <email@hidden>
- Date: Wed, 15 Mar 2006 15:23:03 -0500
- Thread-topic: InDesign XiNet Picture Wrangler GUI Scripting
Title: InDesign XiNet Picture Wrangler GUI Scripting
I am running OSX 10.4.3, using Adobe InDesign CS2 and XiNet Picture Wrangler.
I purchased “UI Browser.app” in order to view the menu item names for UI scripting as an extension of Applescripting.
I am trying to automate a watch folder that processes all InDesign files and Exports PDF files in PDFx1a compliant format.
I have everything working except a way to trigger the Picture Wrangler (Plug-In)--> Relink All Images To High
When I use the following script (only part of overall script):
---Begin--
activate application "Adobe InDesign CS2"
tell application "System Events"
tell process "InDesign"
-- GUI Scripting statements:
click menu item "Relink All Images to High" of menu 1 of menu item "Picture Wrangler" of menu 1 of menu bar item "Plug-Ins" of menu bar 1
end tell
end tell
---End--
It returns:
menu item "Relink All Images to High" of menu "Picture Wrangler" of menu item "Picture Wrangler" of menu "Plug-Ins" of menu bar item "Plug-Ins" of menu bar 1 of application process "Adobe InDesign CS2" of application "System Events"
And, when I add the “Tell document 1 to click” the script as follows:
activate application "Adobe InDesign CS2"
tell application "System Events"
tell process "InDesign"
-- GUI Scripting statements:
tell document 1 to click menu item "Relink All Images to High" of menu 1 of menu item "Picture Wrangler" of menu 1 of menu bar item "Plug-Ins" of menu bar 1
end tell
end tell
It returns:
System Events got an error: Can't make menu item "Relink All Images to High" of menu 1 of menu item "Picture Wrangler" of menu 1 of menu bar item "Plug-Ins" of menu bar 1 of document 1 of process "InDesign" into type UI element.
Nothing I try seems to work.
Can anyone see the problem or offer a possible solution?
Many thanks in advance.
Alex Kaczun
--
Alex Kaczun . YES Solutions™ . Bookspan . Garden City . NY . 11530
516.490.5029 . email@hidden
_______________________________________________
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