🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15189

Problem with making box with no stroke.

#15189
From: Ben_Roche
Date: Mon, 22 Dec 2003 21:39
30 lines
1979 bytes
This is one of my first Applescripts, which reads a CSV and makes documents based on the values in the CSV, add crops and rectangles and text, and saves with a name out of the CSV.
My problem is in my script to make a rectangle "myBGRectangle" comes out with a stroke.
Also is there a way to set the contents of "myBGRectangle" to graphic?
Thx for the help.
Here is part of my script that is causing me a problem
If you need any more information just ask. INDD V2.0.2

-- colours needed
		set noColor to swatch "None"
		set myCropColor to swatch "Paper"
		set myPaperColor to swatch "Paper"

-- Make bckground picture box
		tell page 1 of myDocument
			set myBGRectangle to make rectangle with properties {geometric bounds:{0, 0, Theight, Twidth}, fill color:noColor, stroke color:noColor, stroke weight:0, content:graphic}
		end tell

Now I have a text layer which works

tell page 1 of myDocument
			set GRNumberText to make text frame with properties {geometric bounds:{Y1LogoPlace, X1LogoPlace, 20, (X2LogoPlace - 5)}, item layer:layer "GRNumber", fill color:noColor, stroke color:noColor, stroke weight:0}
			set vertical justification of text frame preferences of GRNumberText to bottom
			tell GRNumberText
				set contents to GNumber
				tell paragraph 1
					set point size to 42
					set justification to right
				end tell
			end tell
		end tell
Technical Details
Message-ID: <2ccf0ce4.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!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,e156a929407e33c4,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-22 14:07:57 PST
From: Ben_Roche@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Problem with making box with no stroke.
Message-ID: <2ccf0ce4.-1@webx.la2eafNXanI>
Date: Mon, 22 Dec 2003 13:39:21 -0800
Lines: 120
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit