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


Click here to return to the '10.4: Automate mounting shares from Finder's Sidebar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Automate mounting shares from Finder's Sidebar
Authored by: dragon_x on Aug 31, '06 11:12:37AM

There are several issues with the 'standard' way and with AppleScript.

#1) The standard way - as in going to Startup Items or Login Items and adding any mounted drives individualy does not always seem to work... it was kind of iffy in 10.3.x and seems to be much worse in 10.4.x - IME.

#2) AppleScript solution might be the best solution, however ScriptEditor is no longer available from the Apple site, at least I could not find the download, but I did find the 10 page HTML doc that has screens shots and everything else. I have found some 3rd party software but this seems to require purchasing and stuff, which is a huge PITA ... even for a $10 or $20 app. Apple needs to provide their ScriptEditor .. or maybe show me where it is (default install, Dev tools??? I dont see it!).

#3) The NetInfo option sucks. The main technical issue is that it appears to log users on as guests. This is beyond retarded - unless I'm missing something, which is highly likely as I am no NetInfo guru (but there is very little documentation out there that indicates exactly what/how these NetInfo mount points a working - IE auto mounting via the NetInfo feature).

#4) Speaking of poor ducementation, its not clear how Automator works either ... It should pull any login info from Keychain (I hope this is how it works). It should also give the creator of the mini "app" the option to specify the userid that will be used for said share (and/ro multiple shares). I would think multiple shares could be put into one Apple (rather not have one app per share - it can work, but its kind of cumbersome). ... so maybe this automater stuff could be explained to the less educated? Are there hooks or options for Keychain (it there a way to confirm if/how it uses keychain)???

#5) The Appelscript option appears to be the best so far - however putting the password the script is not an option. Again this should pull from Keychain. Having to figure out the passwords for all my users is not a good way to administer a system... and if/when they change - we got "issues" all over again. In other words the best (simple/effective) solution appears to be bass ackwards.

#6) Finally - this should not be a that difficult to setup some auto mounts. Dont get me wrong, I love the way the Mac works (9 times out of 10) but that 10th time is buttttt hurting.... so yes, this is 1/2 tirade and 1/2 technical feel free to correct my technical assumptions, ommission and so on... and feel free to ad any constructive opinions you may have.

Thx :)

---
Live long and prosper!



[ Reply to This | # ]
10.4: Automate mounting shares from Finder's Sidebar
Authored by: mm2270 on Aug 18, '07 09:42:36AM

Uhm, Script Editor is a standard part of an OS X install. Look in Applications/Applescript for it. And yes, Applescript is often a more reliable way to achieve auto-mounting of shares, at least for a small network/home scenario.

Automator, being a more visual type of (simpler) Applescript can also do the job as described here.



[ Reply to This | # ]