Quark get pic box properties

Hi

I have a script that works in OS 10.4 but errors in 10.5?

It fails when I try to make a picture box in Quark X Press 7.31 with a colour other than “white”

Tyring this quick script in 10.5 with a picture box drawn in Quark and with a fill on none, it still returns ‘color:color spec “White”’

tell application "QuarkXPress"
	activate
	tell document 1
		get properties of picture box 1
	end tell
end tell

Is this a know issue or has applescript changed significantly in 10.5??

I should still be able to:-

tell application “QuarkXPress”
activate
tell document 1
make picture box at beginning with properties ¬
{name:“newbox”, bounds:{“10mm”, “30mm”, “50mm”, “80mm”}, color:“None”}

Any views?

Thanks

Hi,

Just to update:

I am able to set the color to white and the opacity to 0%, resulting in the desired efect.

Not sure how this affects the PDFs that will be created from these files!!?

Hi

Not that its much consolation your script works as you expect in Quark 8.
I believe there’s an upgrade to 7.5 which is free for your version of Quark.
You never Know it might fix your issue.

Cheers

Thanks for this pidge1.

I am trying to persuade our organisation to upgrade all macs (50+), but this will entail testing other ‘stable’ beahvoiurs and scripts!!

I think I’ll keep a copy of the version that is currently working in OS 10.4 and Quark 7.31 just in case we ever upgrade to Quark 8.

Thanks tho!