|
|
10.4: A simple Widget installation AppleScript
Whoa - why does this script install into the Local domain "Widgets" folder? Wouldn't it be safer to install to the User domain (i.e. within the user's Home directory), instead? In other words, replace the move command with:
move selectedFile to folder "Widgets" of folder "Library" of home Not to mention: If the user who is attempting to perform this action is not an administrative user, they won't be able to actually move a file to the Local domain at all - due to lack of permissions. Targeting the User domain is not only a better, more straightfoward, and safer idea - in this case, it's about the only location which would be possible.
10.4: A simple Widget installation AppleScript
I've add a few bits to the Script posted.
The following script needs to be saved as an application. The script is a droplet, so just drag your widgets on the the icon. It will then ask were you want to install the widgets. (System or User)
I couldn't get the ZIP thing to work so this script only works with unzipped widgets.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.13 seconds |
|