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

2008-11-21 Thread Sven A . Schmidt
NB: In the process of writing this plea for help I've come up with a workaround. (Don't you love it when you solve your problem while asking about it? :) I'm posting this rather elaborate problem description anyway, because it might help others and because it is after all still a workaround

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

2008-11-22 Thread Sven A. Schmidt
has, thanks a lot for your reply! Should work, although hard to say why it isn't without some more detail. A couple pointers: Right, after years of replying to bug reports with "what version are you using" I forget to include version info... I'm using python 2.5 and appscript 0.18.1, both

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

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 fro