First of all, Thanks 'Has"'s help during past months.
 
If we use pythonw, then there may be problem in C code to call the python code with appscript inside because it seems PyImport_ImportModule("ModuleName") only works with python instead of pythonw.
 
By the way, I have another question for HAS. For example, I create a textFrame on InDesign as following
 
textFrame = id.make(new=k.text_frame, at=myDoc.page[1],with_properties={k.geometric_bounds:["14p0","7p0","50p0","45p0"]})
 
then how could I get the geometric_bounds if I have textFrame object?
 
Say textFrame has properties: geometric_bounds,
                                             contents
                                             etc
 
Thanks
 
Zhi

has <[EMAIL PROTECTED]> wrote:
Kevin Walzer wrote:

>Not sure if appscript modules can be run interactively with the Python
>interpreter/shell--has can chime in here.

Sure, as long as you u! se pythonw. An interactive shell can be quite handy when learning your way around an application's object model; appscript's built-in help() system works very nicely there.

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


Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to