bruceR Posted August 2, 2004 Posted August 2, 2004 This very basic example file shows how to use applescript and Mac OSX shell script commands to write data directly to the file name and folder name of your choice. In this example, all exports go to the desktop but you can designate a folder if you want; and the folder will be created if it does not exist. You can write text, XML, HTML, etc. See example records. Of course you can use standard filemaker techniques to manipulate the content of the exort file, use substitutions on a global field, perform applescripted XML maniupulation, append date to existing files, etc. Bruce Robertson ExportByShell.zip
Newbies jemfarm Posted September 6, 2004 Newbies Posted September 6, 2004 Very good. Using Filemaker Pro 7's new feature to import any file into a container field, can Mac OSX shell script commands be used to insert a file as with the menu item "Insert/File
cjaeger Posted October 16, 2004 Posted October 16, 2004 >I can't find a way to use Applescript to Insert an actual file into a container field or to export the actual file to a file with the file name and folder name defined in the filemaker record. AppleScript can't do this DIRECTLY. But it can call a script importing a file at a predefined location (always import "imports/file.txt". Use AppleScript to rename/copy the file there .....
Recommended Posts