January 22, 200916 yr 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 January 23, 200916 yr by Guest ** changed from applescript to scripteditor
Create an account or sign in to comment