🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1139

Place INDD page (AS)

#1139
From: Shane_Stanley
Date: Tue, 17 Feb 2009 22:42
19 lines
1887 bytes
You should be able to (after importing), but it's a bit complicated. The
"graphic layer options" property of an imported page returns a reference to
the "graphic layer option" object, and this object has "graphic layer" as
elements. One of the properties of a graphic layer is "current visibility".

So, for example (untested):

    tell document 1
        tell graphic layer options of imported page 1 of page item "Frame 1"
            set update link option to keep overrides
            set current visibility of graphic layer 2 to true
            set current visibility of graphic layer 4 to false
        end tell
    end tell


-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Technical Details
Message-ID: <C5C18887.4EBA8%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a1c6c26238f71bff
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Place INDD page (AS)
Message-ID: <C5C18887.4EBA8%sstanley@myriad-com.com.au>
Date: Tue, 17 Feb 2009 14:42:31 -0800
Lines: 26
Received: from outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150] by adobeforums.com; Tue, 17 Feb 2009 14:43:06 -0800
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiEBAF/Mmkl8qGiq/2dsb2JhbAAI1BSEEwY
X-IronPort-AV: E=Sophos;i="4.38,225,1233500400"; 
   d="scan'208";a="314678841"
Received: from unknown (HELO [10.1.1.4]) ([124.168.104.170])
  by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 18 Feb 2009 07:42:33 +0900
User-Agent: Microsoft-Entourage/12.15.0.081119
Thread-Topic: Place  INDD page (AS)
Thread-Index: AcmRUQR2lJ7v1sTDfUuAmuMFmgQgBA==
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit