Luke
#1
Hi All,
I am developing an applescript which will be run on a workstation and is designed to do the following:
- Access a Sharefolder on Server A
- Download 2 Files from Server A
- Process these Files via Excel
- Access a Sharefolder on Server B
- Upload the 2 Files to Server B
- Delete the Files from the Workstation
- Close the Sharefolders
The main issue I am having is in closing the sharefolders.
I access them using the following code:
mount volume "Filemaker Pro 5 Folder" on server "Quicksilver" in AppleTalk zone "Office_Ground" as user name "USER" with password "PASSWORD"
However, I am having major troubles identifying the syntax to use to close this sharefolder.
Any ideas?
Thanks
Luke
hdiutil unmount “/Volumes/name_of_Volume”
Hope that helps…
… only if running Mac OS X.
However, any version of the Mac OS should support:
tell application "Finder'
eject disk "Filemaker Pro 5 Folder"
end tell
Luke
#4
Hi,
I just tried the eject message, but recieved an error message…
eject disk "Filemaker Pro 5 Folder"
Message:
Any other ideas? I’m at a loss (of course).
Thanks
Luke
(Running MacOS 8.6 - This thread is cross-posted at “AppleScript | OS”, but as you have already responded, I didn’t want to abandon it here.)
Luke
#5
Got it - it was just bad syntax on my part…
put away disk <<SharefolderName>>
Thanks for your help…