Zhi Peng wrote:
 
>Traceback (most recent call last):
>
>appscript.specifier.CommandError: Too many direct
>arguments.
>        Failed command: app(u'/Applications/Adobe
>InDesign CS2/Adobe InDesign
>CS2.app').documents[u'Untitled-1'].spreads.ID(146).pages.ID(151).text_frames.ID(179).geometric_bounds.set(['6p0',
>'6p0', '18p0', '18p0'])

Yep, it's the non-standard 'get' and 'set' definitions in ID's stupid 
dictionary causing the problem. The latest version of appscript takes care of 
this, so you shouldn't have any problems using get() and set() once you upgrade.

has
-- 
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to