Re: Mounting volumes
Re: Mounting volumes
- Subject: Re: Mounting volumes
- From: Michael <email@hidden>
- Date: Wed, 14 Nov 2007 17:11:29 -0800
- Thread-topic: Mounting volumes
Hi:
They turned off AFP where I work so I use "cifs://" (or smb) instead. See
handler at end.
m
property usr : "theUsername"
property psswd : "thePW"
property ipaddr : "10.5.1.5" -- fm8 server
property vol : "FILEMAKER_SERVER"
try
mount_volume(theUsername, thePW, ipaddr, vol)
on error --theErr
beep 1
end try
delay 1
tell application "Finder"
activate
try
open folder "fm_data" of folder "databases" of folder "data" of disk
"FILEMAKER_SERVER"
set current view of Finder window 1 to list view
set bounds of Finder window 1 to {267, 95, 984, 800}
set width of column id name column of list view options of Finder
window 1 to 212
set width of column id modification date column of list view options
of Finder window 1 to 160
set width of column id size column of list view options of Finder
window 1 to 125
set sort column of list view options of Finder window 1 to name
column
on error theErr
display dialog theErr
beep 0
end try
end tell
on mount_volume(theUsername, thePW, ipaddr, vol)
mount volume "cifs://" & theUsername & ":" & thePW & "@" & ipaddr & "/"
& vol
end mount_volume
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden