Re: [Pythonmac-SIG] Modifying table cell content with python-appscript

2008-11-24 Thread has
On 24 Nov 2008, at 22:23, Sven A. Schmidt wrote: Any idea where the 'unnamed customer' is coming from? Is the appscript 'set' command setting the text field's value? Can you post both your working AppleScript and non-working Python script for comparison? Also, if you can run your applicatio

Re: [Pythonmac-SIG] Modifying table cell content with python-appscript

2008-11-24 Thread Sven A. Schmidt
On Nov 24, 2008, at 22:13, has wrote: On 24 Nov 2008, at 09:15, Sven A. Schmidt wrote: Here's what I get: [eris:sas/Hourglass-trunk/Tests] sas% python2.5 hg_test.py ('', u'unnamed customer', False) Any idea where the 'unnamed customer' is coming from? Is the appscript 'set' command settin

Re: [Pythonmac-SIG] Modifying table cell content with python-appscript

2008-11-24 Thread has
On 24 Nov 2008, at 09:15, Sven A. Schmidt wrote: Here's what I get: [eris:sas/Hourglass-trunk/Tests] sas% python2.5 hg_test.py ('', u'unnamed customer', False) Any idea where the 'unnamed customer' is coming from? Is the appscript 'set' command setting the text field's value? Can you post

Re: [Pythonmac-SIG] Modifying table cell content with python-appscript

2008-11-24 Thread Sven A. Schmidt
Ok, I've tried your example: sysevents = app('System Events') hg = sysevents.processes['Hourglass'] ref = hg.windows['Untitled'].splitter_groups[1] \ .scroll_areas[3].tables[1].rows[1].text_fields[1] s = '' ref.value.set(s) t = r