Hello-
I am trying to upgrade my Quark 7 scripts for OS 10.4.11 to Quark 8.5 OS 10.6.6.
I keep getting the error “Can’t make <<data FXVM0000FC00>> into type real.”
It runs fine within Script Debugger, but when I save it as an application (carbon), I get the error.
I have tried running Quark with “open in Rosetta” and Script DeBugger set to “open in Rosetta”. That didn’t work either.
Anyone know what I need to do to get this to work?
Thanks,
tell application "QuarkXPress"
tell project 1
set myDoc to active layout space
set myProject to name of it
set filepath to file path of myDoc as text
end tell
--tell layout space 1 of project 1
tell front document
set DocProps to bounds of page 1 as list
set horizontal measure to inches
set vertical measure to inches
set myPageHeight to page height as real
set myPageWidth to page width as real
set PaperHeight to (myPageHeight + 1.0) as real
set PaperWidth to (myPageWidth + 1.0) as real
end tell
--end tell
end tell
---------------
Karen Nielsen
IT Project Manager
schmidt
print solutions that deliver
ph | 507.775.7308
fx | 507.775.6655
FSC Certified Printer