Saturday, January 21, 2017

#1 2013-06-18 08:15:13 pm

DaGrandMastah
Member
Registered: 2013-01-31
Posts: 10

Empty Trash Script Help?

I had an empty trash script that I always used:

on run {input, parameters}
   
    tell application "Finder"
        empty the trash
    end tell
   
    return input
end run

but now i'm getting an error "error "" number -1721"

Can anyone help me figure out what is wrong?  I'm confused why it would suddenly stop working after over a year of no issues.

Offline

 

#2 2013-06-18 08:22:35 pm

DaGrandMastah
Member
Registered: 2013-01-31
Posts: 10

Re: Empty Trash Script Help?

Sorry.  I should also clarify that the script was run as an application out of Automator.  I had set an application up to run this apple script.  I set it up so when I clicked on the top right corner of my trackpad, the application would run and empty my trash.  All of a sudden though, it's not working and I can't seem to figure out why.

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.074 seconds, 8 queries executed ]

RSS (new topics) RSS (active topics)