Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Remove the 'downloaded file' warning flag' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Remove the 'downloaded file' warning flag
Authored by: tempel on Oct 13, '10 03:42:46AM
Update: In 10.6, this should be created as a Service, not a Workflow, as 10.6 does not offer the option to save it as a Finder plugin any more.

As a service, the "Get Selected Finder items" step is not necessary any more - instead one configures the Service at the top to receive selected "files or folders" in "Finder.app".

I also suggest to wrap the "do shell script" line between a "try" and "end" so that it will not abort the processing of a larger selection when a single selected file is not quarantined.

[ Reply to This | # ]

10.5: Remove the 'downloaded file' warning flag
Authored by: kopf on Nov 14, '10 08:10:10PM

To be able to do this on files that you don't have privileges for, simply append 'with administrator privileges' (without the quotes) at the end of the do shell script line. AppleScript will then present a dialog asking for your admin password.



[ Reply to This | # ]