• 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: FMPro to Quark script box bounds problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FMPro to Quark script box bounds problem


  • Subject: Re: FMPro to Quark script box bounds problem
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 16 Jul 2002 10:18:33 +1000

On 15/7/02 10:54 PM +1000, Jeremy Sellors, email@hidden, wrote:

> I have a script that moves classified ad records form FMP into a Quark
> document. The script is a bit of a klunker because it uses anchored text
> boxes, (white text in a black box) that have to be cut and paste into
> the text flow. However it does work in OS 9.2.2 and we use it every week.
> Now I am tying to move the script to OS 10.1.5 and classic OS 9.2.2
> using Quark 5.0.1.
> At the part of the script that increases the size of the anchored text
> boxes that have text overflow, the "get bounds of text box as list"
> returns "+data FXVM00000000;, +data FXHM00000000;, +data FXVM000E6666;,
> +data FXHM00900000;" instead of the usual measurements list.
> I need to add .126\" to the hight of the boxes with text overflow.
> Is there a scripting addition that I am missing that would make these
> measurements appear normal?

I haven't used any version after 4.11, but in 4.11 under OS X you have to
use explicit coercions using QXP's coerce command. So you'd have to do
something like:

set x to bounds of text box 1
set x to coerce x to list
set theTop to coerce item 1 of x to real
...

--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >FMPro to Quark script box bounds problem (From: Jeremy Sellors <email@hidden>)

  • Prev by Date: Re: Password security
  • Next by Date: MacOS X problem with Classic Clipboard...
  • Previous by thread: FMPro to Quark script box bounds problem
  • Next by thread: Re: has's list wrappers [Re: Passing *possible* variables to a
  • Index(es):
    • Date
    • Thread