Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted (edited)

Hi the following two scripts both work when run in scripteditor** but fail "generally object not found: when run in FM scriptmaker. (first script saves a pdf to local drive and second one makes a copy to a server)

tell application "FileMaker Pro" to set file_name to cell "meeting::filename" of current record

tell app "finder" to set new_folder to (choose folder with prompt "Choose a Project Folder to save the PDF file: " & file_name) as Unicode text

tell application "FileMaker Pro" to set cell "meeting::gtext" to new_folder

AND

tell application "Finder" to 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

thanks for any help

Edited by Guest
** changed from applescript to scripteditor

This topic is 5782 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.