Re: [Pythonmac-SIG] appscript path issue

2009-03-06 Thread Bill Janssen
> Jack Jansen wrote: > > > I wouldn't be surprised if the root of the problem is with > > PowerPoint. It started its life as an OS9 application, so if it still > > thinks it lives in an OS9 world with FSSpecs and colon-separated > > pathnames, it could be trying to do the conversion to posix pa

Re: [Pythonmac-SIG] appscript path issue

2009-03-05 Thread Bill Janssen
Jack Jansen wrote: > I wouldn't be surprised if the root of the problem is with > PowerPoint. It started its life as an OS9 application, so if it still > thinks it lives in an OS9 world with FSSpecs and colon-separated > pathnames, it could be trying to do the conversion to posix paths > itself

Re: [Pythonmac-SIG] appscript path issue

2009-03-05 Thread Jack Jansen
I wouldn't be surprised if the root of the problem is with PowerPoint. It started its life as an OS9 application, so if it still thinks it lives in an OS9 world with FSSpecs and colon-separated pathnames, it could be trying to do the conversion to posix paths itself. And such a conversion m

Re: [Pythonmac-SIG] appscript path issue

2009-03-05 Thread Bill Janssen
has wrote: > Bill Janssen wrote: > > > I'm trying to write this scrap of Applescript in Python appscript: > > > > on run > > tell application "Microsoft PowerPoint" > > set this_item to path of active presentation > > end tell > > set unix_item to POSIX path of this_item

Re: [Pythonmac-SIG] appscript path issue

2009-03-05 Thread has
Bill Janssen wrote: I'm trying to write this scrap of Applescript in Python appscript: on run tell application "Microsoft PowerPoint" set this_item to path of active presentation end tell set unix_item to POSIX path of this_item display dialog of

Re: [Pythonmac-SIG] appscript path issue

2009-03-04 Thread Bill Janssen
Bill Janssen wrote: > I'm trying to write this scrap of Applescript in Python appscript: > > on run > tell application "Microsoft PowerPoint" > set this_item to path of active presentation > end tell > set unix_item to POSIX path of this_item > display dia

[Pythonmac-SIG] appscript path issue

2009-03-03 Thread Bill Janssen
I'm trying to write this scrap of Applescript in Python appscript: on run tell application "Microsoft PowerPoint" set this_item to path of active presentation end tell set unix_item to POSIX path of this_item display dialog of unix_item end run