• 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
OS X and Quark 4.11 - cant coerce rotation and scale info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X and Quark 4.11 - cant coerce rotation and scale info


  • Subject: OS X and Quark 4.11 - cant coerce rotation and scale info
  • From: Armin Egginger <email@hidden>
  • Date: Fri, 19 Sep 2003 09:20:02 +0200

Hi Scripter,

I have a problem to get the rotation and scale info from the image. I
want to know it and at MacOS X I didn't get the information as real. To
get the informations as real I always use the coerce command. But for
the rotation and scale this command doesn't function, for the bounds it
does. Do anybody knows a solution, to get the informations as real?

my Script:

tell application "QuarkXPress Passport 4.11"
tell page 1 of spread 1 of document 1
set xPref to (get properties of picture box 1)
set xPrefPict to (get properties of image 1 of picture box 1)
set xAngle to (angle of image 1 of picture box 1)
set xAngle to coerce xAngle to real
log xAngle
set xRotation to (scale of image 1 of picture box 1)
set xRotation to coerce xRotation to real
log xRotation
set xScale to (scale of image 1 of picture box 1)
set xScale to coerce xScale to real
log xScale
set xBound to (bounds of picture box 1 as list)
end tell
end tell


Thanks in advance.


Armin



=== ===
|| \\ // ||
|| \\ // ||
|| // \\ ||
|| // \\ ||
=== ===
[X]cross-solution
Armin Egginger
Otto-Wagner-Str. 7A
82110 Germering
Tel.: 089/84102570
Fax: 089/84102573
_______________________________________________
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.

  • Follow-Ups:
    • Re: OS X and Quark 4.11 - cant coerce rotation and scale info
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: POST format
  • Next by Date: Re: OS X and Quark 4.11 - cant coerce rotation and scale info
  • Previous by thread: Re: choose application list - revisited
  • Next by thread: Re: OS X and Quark 4.11 - cant coerce rotation and scale info
  • Index(es):
    • Date
    • Thread