Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread Charles Turner
On Jun 19, 2010, at 7:44 AM, has wrote: > So I would suggest taking it up with the Skim authors, as it's probably a bug > in their scripting support. As a follow-up, Christiaan Hofmann offered this: On Jun 19, 2010, at 9:00 AM, Christiaan Hofman wrote: > This is a very old and very annoying Ap

Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread Charles Turner
On Jun 19, 2010, at 7:44 AM, has wrote: > So I would suggest taking it up with the Skim authors, as it's probably a bug > in their scripting support. Thanks for all the help, has. I've been talking with the Skimmers about this too. Best wishes, Charles

Re: [Pythonmac-SIG] Help with py-appscript?

2010-06-19 Thread has
Charles Turner wrote: > I have the following script: > > from appscript import * > > skim = app('Skim.app') > reference = skim.documents[1].notes[1].selection.get()[0] > print reference > > which produces the reference: > > app(u'/Applications/Skim.app').documents[u'blair-2004.pdf'].pages[1].t