I'm trying to write an Applescript that will connect to my company's Win2K server, so that I don't have to type the login string in the "Connect to Server" window. The script I'm trying is:
on open
tell application "Finder"
mount volume "smb://domain;user:password@server/share"
end tell
end open
When I paste the "smb?quot; string directly into the connect window, it works like a charm- but no dice as an Applescript application. Any ideas?
Allen
P.S. I know about utilities like Sharity that will log you on automatically, but I'd prefer to do it this way so that I only connect when necessary.
eriklager
02-27-2002, 08:54 AM
I use SMB Browser to mount windows shares. You can download it here: http://shukwit.com/SmbBrowse.70.sit.
Erik