|
|
Get Safe Downloads List last update time and current version
I decided I needed some dashcode exercise and made a widget too, you can find it on my blog...
Safe Downloads List Info Widget
Get Safe Downloads List last update time and current version
Nice looking widget. How about adding a "Force Update" button that runs:
Get Safe Downloads List last update time and current version
Well the trick is that it's a sudo command, so there needs to be a way to authenticate via GUI. I can map that command to a button, but then it freezes the widget because there is no user interface to authenticate to. So rather than figure out a way (maybe I could have it spawn a terminal window that is fed the sudo command that then prompts? But that is sort of inelegant for a widget) So, I figure I'll leave that in the hands of Apple, the only apparent way is to force an update is to toggle the setting on and off in the Security prefPane. So for now it'll be a purely informational widget. Thanks of the suggestion though!
Get Safe Downloads List last update time and current version
Maybe applescript to authenticate?
Get Safe Downloads List last update time and current version
I think I recall reading some Apple KB article saying you shouldn't use 'sudo' with 'with administrator privileges' (ie. I think your applescript shell script will work without sudo - though I'm not positive on that.) Edited on Jun 09, '11 08:20:12AM by everkleer80
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.25 seconds |
|