i’m wondering if a script like this already exists - have been looking for it but in vain.
i often myself in the situation that i download a file (mostly doc, pdf, or mp3), take a look at it and realize that i don’t want to keep it. but in order to trash it, i have to close the file, bring up finder or desktop, find it and delete it. sometimes that’s super annoying if the desktop is cluttered and the file has a weird name…
so… is there an applescript that could identify the topmost file open, that could close it and then move it to trash.
if you know of it, please let me know.
all best,
psychomachine