🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1476

Re: How to insert page item into text frame?

#1476
From: Shane_Stanley
Date: Wed, 11 Feb 2009 06:33
19 lines
2077 bytes
On 11/2/09 5:08 PM, "Olav Kvern" <member@adobeforums.com> wrote:

> You could also re-create the object at the insertion point--something like
> this: 

That's true. The problem, though, is that it only replicates the direct
properties of the frame. All the properties that reference other settings
objects get ignored, so in practise it's either a risky procedure or
complicated, especially with text frames and properties like text frame
preferences.

Like you, I'm no fan of copy and paste for scripting, but until you can
convince someone to implement a suitable move command, it's probably the
easiest option here. On the plus side, on Macs at least it seems
surprisingly stable, and doesn't require InDesign to be frontmost.

-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Technical Details
Message-ID: <C5B8BC74.4E8B7%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7d80f.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1dab0bd2e34dd641
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: How to insert page item into text frame?
Message-ID: <C5B8BC74.4E8B7%sstanley@myriad-com.com.au>
Date: Tue, 10 Feb 2009 22:33:40 -0800
References: <59b7d80f.-1@webcrossing.la2eafNXanI>
Lines: 24
Received: from outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148] by adobeforums.com; Tue, 10 Feb 2009 22:34:17 -0800
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjwBAJ4Akkl8qGiq/2dsb2JhbAAI00yEGgY
X-IronPort-AV: E=Sophos;i="4.38,190,1233500400"; 
   d="scan'208";a="388758769"
Received: from unknown (HELO [10.1.1.4]) ([124.168.104.170])
  by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 11 Feb 2009 15:33:44 +0900
User-Agent: Microsoft-Entourage/12.15.0.081119
Thread-Topic: How to insert page item into text frame?
Thread-Index: AcmMEq00Md8YeMPtg0CKlOlp8ZmEfg==
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit