[Pythonmac-SIG] get reference

has hengist.podd at virgin.net
Thu Oct 27 00:39:33 CEST 2005


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/


More information about the Pythonmac-SIG mailing list