Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7342 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

  • 1 month later...
  • Newbies
Posted

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

  • 1 month later...
Posted

>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 .....

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.