I am currently trying to write an applescript to empty the trash without displaying the warning.
I used "empty trash" it works fine if it was running as script, but if I save it as application it displays the warning "Are you sure you want to permanently erase the items in the Trash?".
so I am not sure what to add in order to disable the warning from appearing when running as an application.
I am using mac OS X 10.10.5
thank you