Newbies rgeorgan Posted February 13, 2001 Newbies Posted February 13, 2001 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.
surwoop Posted February 14, 2001 Posted February 14, 2001 This should work: set data of cell "Reference File" of current record to RefFile as string
Recommended Posts
This topic is 8688 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 accountSign in
Already have an account? Sign in here.
Sign In Now