Article View: adobe.scripting.indesign
Article #8719GUI Script in Document Setup dialog box
From: Chris_Capobianco
Date: Wed, 27 Sep 2006 13:45
Date: Wed, 27 Sep 2006 13:45
19 lines
1251 bytes
1251 bytes
I'm not sure why the following portion of my AppleScript is not working:
tell application "Adobe InDesign CS2" to activate
tell application "System Events"
tell application process "Adobe InDesign CS2"
if exists window "Document Setup" then
tell window "Document Setup"
click checkbox "Master Text Frame"
click button "OK"
end tell
end if
end tell
end tell
Both the checkbox and the button seem to "flicker" but the click never works. Any insight into what I'm doing wrong would be greatly appreciated.
Thank you,
Chris Capobianco
Technical Details
Message-ID:
<3bc1cbb0.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,44d44f7827b37a4b,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Chris_Capobianco@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: GUI Script in Document Setup dialog box Message-ID: <3bc1cbb0.-1@webcrossing.la2eafNXanI> Date: Wed, 27 Sep 2006 06:45:37 -0700 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit