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

7 lines
111 B
Plaintext

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