[Pythonmac-SIG] AppleEvents in MacPython 2.3?
Larry Meyn
lmeyn at mail.arc.nasa.gov
Mon Aug 11 15:47:59 EDT 2003
On a related subject of colon separated AppleScript paths, how does one
get the name of the root disk for generating absolute OS 9 style
(colon separated) paths? The abspath function from the macpath module
doesn't work under OS X , because it uses os.getcwd() which returns a
"/" delimited path. Are some nice functions that someone has written
that can convert between the two path styles under OS X?
>
> True enough. (Although TextEdit's 'save in' takes POSIX paths instead
> of
> colon AppleScript paths, but doesn't tell you so.) Mail.app is very
> hairy
> too - virtually unscriptable, whereas Address Book is not bad and
> getting
> better all the time.
>
>
Larry Meyn
Aerospace Operations Modeling Office
M/S 210-10 Phone: (650) 604-5038
NASA Ames Research Center Fax: (650) 604-0222
Moffett Field, CA 94035-1000 E-mail: Larry.A.Meyn at nasa.gov
E-Fax: (425) 944-5526 sent via e-mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1094 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20030811/3bb18d91/attachment.bin
More information about the Pythonmac-SIG
mailing list