[Pythonmac-SIG] AppScript, Quarks print_ command broken on Tiger

2005-07-04 Thread Peter Waibel
uot;QuarkXPress" tell document 1 print end tell end tell There was no problem using the code with Panther 3.9 and XPress 6.x Peter --- Opix AG Peter Wai

Re: [Pythonmac-SIG] Re: Re: appscript and XXXX - what is my app instance returning?

2005-04-01 Thread Peter Waibel
Try this: #!/usr/bin/pythonw from appscript import * qxd = app('QuarkXPress') # get the page width pw_hm = qxd.documents[1].page_width.get() # pw_hm is quarks class horizontal_measurement # coerce horizontal_measurement to k.Float pw_float = qxd.coerce(pw_hm,to=