AS_File_Copy ( Source_Path ; Target_Path ; myOptions )
copy files on Harddisk using AppleScript with a shell command (Apple only)
Average rating: 4.5 (24 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Copy a file from one path on the harddisc to another path or to another volume.
U shall use a standard POSIX path or a common FileMaker paths like:
"filemac:" & Get ( TemporaryPath ) & "file.csv"
The script removes prefixes like "filemac:" or the name of the start volume like "/Macintosh HD/" automatically.
Use the ScriptStep "Perform AppleScript" using the option "Calculated AppleScript"
You also shall use "Perform AppleScript" directly from a button.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.