March 28, 200322 yr Newbies This is a script I used in OS9 Filemaker to write external text text files with unique info and filename.....now it doesn't work in OSX. Here is the script: tell application "FileMaker Pro" set this_name to get data cell "HTML File Name" of the current record set this_data to get data cell "HTML Page" of the current record end tell tell application "Finder" set this_file to (((path to desktop folder) as text) & "jewelry_HTML:" & this_name) set the target_file to the this_file as text set the open_target_file to open for access file target_file with write permission write this_data to the open_target_file starting at eof close access the open_target_file return true try close access file target_file on error end try end tell Any help would be appreciated. Cade
March 31, 200322 yr OS9 and OSX seem to behave differently in their file handling systems. So, I expect that is where your problem is. I'm no expert on OSX though, so the only advice that I can give is to use the Applescript editor to test and debug the script, check the error messages that it gives you, and concentrate on the syntax of the file references.
Create an account or sign in to comment