How to make a macro that deletes or trashes a file from the /libary folder?

I trying to make this Macro work:


I guess it has to do that i have to enter my administrator password because it is in my library folder. But nothing is prompted by the Macro, it does nothing.
Did i miss anything?

You wont be prompted for your admin password, no. The action should fail and report the failure, depending on the action settings.

If it needs the admin password, then you’ll have to find an alternative, such as executing an AppleScript and executing the rm command with administrative permissions, so setting up an entry in the sudoers file to allow it to be executed without a password and running a sudo rm command.