Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Software>>Please help with Applescript and smb. Please!

Please help with Applescript and smb. Please!

Noiseboy
02-26-2002, 01:19 PM
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


 

TOP

Bodycote says profit i
Microsoft muses on fre

For more info

Bodycote says profit i
Microsoft muses on fre
after 10.1.3, MO remov
how to get a Voodoo 3/
Wacom USB Tablet Drive
HP 932C driver? 
Appletalk & Airpor
Olympus e100 won't "in
Lost printer in Classi
Hard Drive to Hard Dri

News Archive

Bodycote says profit i
Restructuring bites in
Office Open XML could 
Microsoft muses on fre
Connect to.... getting
sshd pb get_real_comma
Could be worse...... 
Cisco console port con
RDP Client 
scripting  internet co

Related stories:

Slow OS9 clients when connecting to OSX 10.1.2
Physically disconnected shares cause hang.
transfering long file names from win2k -> osx
Default share groups?
ftp hack
Airport and Verizon DSL SMTP issues
1 iMac(os10.1)+1 iBook (os9.1)+1 cable modem (Rogers@Home)+2 AirPort cards = No go ?!
Dialup connect scripts

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics