|Aug 27, 2013, 07:36 AM||#1|
Applescript -hiding desktop drive icons
I've had success with a couple of Applescript scripts in hiding hard drive icons on the Finder desktop that I don't need to access (the Mac Pro uses them for backup and cache purposes):
Hiding the drive icon
quit application "Finder" tell application "System Events" to ¬ set visible of disk "BACKUP DRIVE" to false delay 1 launch application "Finder"
Making the drive visible again
quit application "Finder" tell application "System Events" to ¬ set visible of disk "BACKUP DRIVE" to true delay 1 launch application "Finder"
I'm using OSX 10.6.8.
|Aug 31, 2013, 02:34 PM||#5|
Thanks. I tried the Terminal suggestion there and the result was the same as with my Applescript, but.... unlike Applescript it gave me an error message: "Permission denied".
So I tried adding myself as a new user for the drive, enabling read/write" and then it worked.
Thanks for heading me in the right direction. I'll have to figure out the correct ownership for my drives.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Desktop suddenly darkens and menu bar and desktop icons disappear||vonglower||OS X Mavericks (10.9)||0||Jan 15, 2014 06:17 AM|
|I think 10.8 is hiding my boot drive||Ravich||OS X 10.8 Mountain Lion||0||Oct 22, 2013 07:58 PM|
|iPhone: Springtomize and hiding icons||Baggy Spandex||Jailbreaks and iOS Hacks||4||Feb 9, 2013 11:13 AM|
|Using Applescript to reference target's desktop||CountrySeacow||Mac Programming||2||Dec 7, 2012 06:28 PM|
|iPhone: Hiding Apps (icons) and Battery Life||ACardAttack||Jailbreaks and iOS Hacks||7||Sep 4, 2012 07:30 PM|
All times are GMT -5. The time now is 02:35 PM.