February 13, 200124 yr Newbies I've written a short FM script that uses an Applescipt to retrieve the filename path of a file and insert that data into a cell on the FM database. Currently the AppleScript will only insert the data into the first record of the found set, and I can not figure out how to make it insert into the current record shown. I would like to be able to have the filename path inserted into a field in a manner similar to the "insert picture" script step. Here is the current Applescript that I have come up with: ------- set RefFile to (choose file with prompt "Please select the referenced file.") as string tell application "FileMaker Pro" activate set data of cell "Reference File" to RefFile as string end tell ------ Thanks in advance for any help.
February 14, 200124 yr This should work: set data of cell "Reference File" of current record to RefFile as string
Create an account or sign in to comment