So at work I have some servers that need to be automatically mounted when a user logs in. Sounds pretty easy - I just have a simple applescript that class mount volume with a URL like this:
afp://userName:@server/Partition
Notice that there is nothing between ':' and '@'? That's because the login to the server has no password - not my design. So everytime I try this (and removing the colon), I get a prompt for the user to enter their user name and password, with all the correct infomarion already entered in the fields. It seems like the mount volume command assumes that a blank password is incorrect which isn't the case in my situation.
So....
(1) Is there a way to make mount volume not prompt for a password
(2) Is there a way to confirm the "Connect" button when the dialog pops up?
Thanks,
Matt