I'm making a cross platform script that sends files to the trash (or
recycle bin), but am having trouble with the applescript version:
Here's the applescript which I'm trying to generate:
tell application "Finder"
move path to the trash
end tell
And the py-appscript version (which doesn't work):
app('Finder').move(os.path.abspath(path), to=k.trash)
Can anyone give me any pointers on how to get the appscript version
working?_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig