(no subject)
(no subject)
- Subject: (no subject)
- From: Jake Johnson <email@hidden>
- Date: Mon, 8 Dec 2003 11:41:21 -0800
Greetings:
I have been having a difficult time figuring out how to mount SMB
volumes over our
corporate LAN at system startup. Note: Mounting the drives at user
login
is no problem, but I want to mount the drives as part of the system
startup process.
I have tried creating a startup item to call the AppleScript from an
executable shell script that resides in /Library/StartupItems. This
approach has resulted in odd system behavior (slow startup, crashes,
etc.)
Here is a sample of the AppleScript syntax I am attempting to use.
Note:
my actual script mounts two separate volumes.
tell application "Finder"
activate
mount volume ("smb://userid:password@NETWORKVOLUME/Folder")
end tell
I am able to compile my script as an applications, and run it from the
terminal using the osascript command.
I have reviewed several tutorials on creating startup items (including
Apple's), but none of them directly address the subject of running
AppleScripts as startup items. Any assistance you can provide would be
greatly appreciated.
Thanks,
Jake
P. S. I am running Mac OS X 10.3.1 Client, and 10.2.8 Server.
Jake Johnson
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.