cpython/Mac/IDE scripts/Insert file name...

7 lines
114 B
Plaintext

import macfs
fss, ok = macfs.StandardGetFile()
if ok:
import W
W.FrontWindowInsert('"%s"' % fss.as_pathname())