🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20696

How do I set properties?

#20696
From: Richard Ronnback
Date: Fri, 07 Jun 2002 20:05
9 lines
1196 bytes
I need to get all locked items, move them about, and then lock them again. So I thought I could use something like: 

 tell application "InDesign 2.0.1"     set myDocument to active document     set myLockStatus to page items of myDocument whose locked is true     set properties of myLockStatus to {locked:false} 

 

But you can't set properties of a variable. So what the best way to do this be, bearing in mind I have to lock these items at the end of the script 

/ Richard
Technical Details
Message-ID: <ef8fe6c.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,92fea4ad5c1e0857,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-07 13:09:50 PST
From: "Richard Ronnback" <richard.ronnback@telia.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: How do I set properties?
Message-ID: <ef8fe6c.-1@WebX.aaQKaf7vad4>
Date: Fri, 7 Jun 2002 13:05:10 -0700
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit