easy script that i just can't make work
easy script that i just can't make work
- Subject: easy script that i just can't make work
- From: joan <email@hidden>
- Date: Tue, 31 Oct 2000 14:33:14 -0800
hello,
i apologize to the applescript gurus in advance. this stupid script
should be so dang easy, and yet it's been a week and i can't get the
stupid thing to work. all i want to do is duplicate some filemaker
files from our webserver to our backup machine since retrospect can't
copy files that are open (the filemaker files are always open for web
access)
i have 2 other scripts that close the filemaker files before
duplicating and open after duplicating. after i get the duplicating
part right, i'll put all the scripts together. Ignore any spelling
errors in this email.
the error:
"Finder got an error: Can't set folder "FileMaker Pro 4.0" of folder
"webserver backup vol2 1 month" of disk "Macintosh HD" of machine
"Server Room G3 Scanning Station" to "Server Room G3 Scanning
Station""
here's some random information
1. file sharing is set to ON on both computers.
2. web server OS is 8.1
3. backup server OS is 8.6
4. the script runs on the web server and copies the files to the
backup machine
the script (there are more files, this is just to show):
tell application "Finder"
activate
duplicate folder "Web" of folder "FileMaker Pro 4.0" of startup disk ,
to folder "FileMaker Pro 4.0" of folder "webserver backup vol2 1
month" of disk ,
"Macintosh HD" of machine "Server Room G3 Scanning Station" with replacing
duplicate folder "Lamar" of folder "FileMaker Pro 4.0" of startup disk ,
to folder "FileMaker Pro 4.0" of folder "webserver backup vol2 1
month" of disk ,
"Macintosh HD" of machine "Server Room G3 Scanning Station" with replacing
end tell
i appreciate any info
thanks,
joan