• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Oddity with quark script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Oddity with quark script (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Oddity with quark script
  • Next by Date: Fwd: confirm 88db8c8884f2b5c029ea450427fddb76fc43decd
  • Previous by thread: Re: Oddity with quark script
  • Next by thread: Fwd: confirm 88db8c8884f2b5c029ea450427fddb76fc43decd
  • Index(es):
    • Date
    • Thread