Re: Oddity with quark script
Re: Oddity with quark script
- Subject: Re: Oddity with quark script
- From: Shane Stanley <email@hidden>
- Date: Mon, 23 Feb 2009 17:28:07 +1100
- Thread-topic: Oddity with quark script
Your code looks a bit odd. If there's no crossing of environments, Quark
should do the coercions and you shouldn't need to use the coerce command.
But if you do need to do them, I don't think that's how you do it. I'm going
on distant memory, but I think you'd need to "coerce...to", not "as",
something like:
set theWidth to (width of bounds of TheRef)
set PlacingWidth to coerce theWidth to real
Sadly for you, but thankfully for me, Quark stuff is now a distant
nightmare, so this is from the days of version 6 and earlier.
--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden