This does not appear to work with Quark 2018 (14.2.1, running on MacOS Mojave).For example, if the horizontal measure is set to inches, you can coerce the returned value to points by using get page width as point units.
For example, I create a new document with a page width of 8.5" and then create a new script with the following code:
Code: Select all
tell document 1 of application "QuarkXPress 2018"
get page width as point units
end tell
error "Can’t make \"8.5\\\"\" into type point units." number -1700 from "8.5\"" to «class FXPT»
Do others have the same issue? Is this a mistake in the guide or a bug in the application?