Mounting the v:\ drive via applescript – Grass Valley Aurora Edit LD v.6.5 Installation User Manual
Page 87

November 25, 2008
Aurora Edit Installation Guide
73
Mounting V:\ from MacOS 10.5.x (Leopard)
8. Select
Registered User
, enter your username and password, and click
Connect
.
9. From the list of volumes, select the
V
share and click
OK
.
You can now access the V:\ drive from the desktop, Finder windows, and so on. For
future logins, you can select the address from the Connect to Server window.
Mounting the V:\ Drive via AppleScript
You can automate the drive mount processes by creating an AppleScript application with
your login data that executes automatically each time you log in.
1. From the Finder, go to Applications/AppleScript and launch the Script Editor.
2. Enter the following script:
(*
AppleScript to connect to K2 SAN from Mac running OS X
Leopard. Edit the properties below with your login
information and save the script as a run-only application.
Launching the script will mount the specified drives.
*)
property
username
: "administrator"
property
pass
: "adminK2"
property
K2FTP_IP
: "192.168.50.10"
property
K2_share
: "V"
property
sharedirectory
: ""
tell
application
"Finder"
set
K2_share
to
"smb://" &
username
& ":" &
pass
& "@"
&
K2FTP_IP
& "/" &
sharedirectory
if not
(
exists
K2_share
)
then
mount volume
K2_share
else
eject
K2_share
mount volume
K2_share
end if
end tell