🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9865

Error in the "'PDF Multipage Import"

#9865
From: John_Kordas
Date: Fri, 14 Jul 2006 07:00
17 lines
1311 bytes
I've been looking at this JS to see how it works and in ExtendScript Toolkit I get the following error:

Invalid value for parameter 'showingOptions' of event 'place'. Expected Boolean, but received (0, 0)

Line 186

myPDF = myFrame.place(File(myFile),[0,0],myPDFLayer,false,true,true,true);

This script is from the Adobe Exchange:
<http://share.studio.adobe.com/axAssetDetailSubmit.asp?aID=10994&back=http%3A%2F%2Fshare%2Estudio%2Eadobe%2Ecom%2FaxQuickSearchSubmit%2Easp%3Ftxt%3DPDF%2BMultipage%2BImport%26allprods%3D6%26submit1%2Ex%3D36%26submit1%2Ey%3D8>

If you change (0,0) to false you get:
Invalid value for parameter 'showingOptions' of event 'place'. Expected Boolean, but received (FALSE)

Isn't a Boolean = true or false?

Regards, John.
Technical Details
Message-ID: <3bc0e93a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3c33ee7fdcc41d9,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_Kordas@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Error in the "'PDF Multipage Import"
Message-ID: <3bc0e93a.-1@webcrossing.la2eafNXanI>
Date: Fri, 14 Jul 2006 00:00:46 -0700
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing