sebbo
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by sebbo
-
-
Oh, sorry, I missed that.
I was under the impression that `sudo` bash scripts couldn't be used in Alfred workflows? Can anyone clarify?
The only other difference is in this version the Notification is only displayed if the command runs without errors (and the workflow icon ).
-
My first Alfred workflow. Flushes DNS cache on Lion and Mountain Lion by the method recommended by this Apple support article.All it does is run:
killall -HUP mDNSResponder
…with admin privileges (you'll be asked to authenticate).
I made it because the other workflows I’ve seen use the <10.7 method (dscacheutil).
Force Empty Trash
in Share your Workflows
Posted
For sudo, I've been using AppleScript:
You get prompted with a standard OS X authentication dialog box.