Jump to content
Server Maintenance This Week. ×

Script works sometimes


This topic is 5521 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi

tell application "Finder"

set Server_folder to "WHP_Data:Alberti work: minutes folder:" as Unicode text

tell application "FileMaker Pro Advanced"

set save_folder to cell "meeting::gtext" of current record

set file_name to cell "meeting::filename" of current record

end tell

tell application "Finder" to set copy_file to duplicate save_folder & file_name to folder Server_folder with replacing

end tell

Basically meeting::gtext is a folder (set earlier in scriptmaker using the applescript "choose..... command."

and meeting::file - well is the file name.

Sometimes this script works but now get an error saying

Finder got an error: Can’t set folder "WHP_Data:Alberti work: minutes folder:" to folder "WHP_Data:Alberti work: minutes folder:".

Any ideas thanks

Link to comment
Share on other sites

This topic is 5521 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.