Quark XPress Script returns different result as compiled application

I am working on a script for Xpress 7.5 (MacOS 10.4.11, PowerPC) and it works as it should, but I get different results when I compile the script to an application.

A simple script example like this:

tell application “QuarkXpress Passport”

tell document 1

    tell spread 1

        tell generic box 1

           set ar0 to content as string

         end tell

   end tell

end tell

end tell

display dialog ar0

will return a string like “none content” (what has to be expected) as long as I run the script in script editor.

But when I compile it to an application, the variable ar0 will have a value something as <<constant…NONT>>,

which will be displayed in the dialog window as well.

In deed every parameter I tried to get, has this different behaviour as a compiled application.

Any suggestions ? For a work around, maybe ?

P.S.: Please excuse I didn’t include the script using the “Applescript”-Button above … I am writing this from an internet cafe and they have only PCs … :frowning: