What's the best way of going about this? For example, iTunes needs to access a network shared drive but the Mac has not been explicitly connected to the drive in question. I need it to mount the drive automatically if it is accessible.
What's the best way of going about this? For example, iTunes needs to access a network shared drive but the Mac has not been explicitly connected to the drive in question. I need it to mount the drive automatically if it is accessible.
Have the script map the drive then open iTunes, then rather than click to open iTunes, click to run the script.In which case I can just double-click on the shortcut. If the share exists, I need OS X to reconnect automatically - it's a fairly basic and important requirement.
Can you get it to simply connect at login instead, or is the problem that it gets disconnected and needs to be maintained?![]()
I'd bounce that one off Thursby. That sounds a little like this issue with execute permissions, or something related.Something about tss_check_cifs is not running.
tell application Finder
mount volume "smb://username:password@someserver/sharename"
end tell
tell application iTunes to activate
@king - as I said earlier, it is not just for one app so redocking each app is not workable.