Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.filemaker > #3180
| From | Helpful Harry <HelpfulHarry@BusyWorking.com> |
|---|---|
| Newsgroups | comp.databases.filemaker |
| Subject | Re: Copy file Command line in Filemaker |
| Date | 2018-08-22 09:20 +1200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <plhvm7$11ks$1@gioia.aioe.org> (permalink) |
| References | <11cbdf7e-743b-42c9-8e6f-538fcc85ab67@googlegroups.com> <plh9ap$78i$1@dont-email.me> |
On 2018-08-21 14:58:32 +0000, ursus.kirk@gmail.com said: > Op 21-8-2018 om 16:29 schreef steve.slater@fmdatanet.co.uk: >> I have a field that defines the path to a referenced jpg file for >> viewing in a container. >> >> I now want to send a command from filemaker that Copies the local jpg >> file to another folder on a server >> >> Struggling to find a way other than using a Plugin >> >> Any Ideas > > OSX use applescript from a script (or send event) > WIN use batch (Send event) from a script It depends on what version of FileMaker Pro and I haven't tried it with a linked image, but the 'Export Field Contents' command (in at least FileMaker 16, not sure when it was introduced) is able to save stored data from a Container field to an file wherever you tell it to be saved and you can use a variable for the filepath. Remember to include the '.jpg' filename extension, especially for Windows. I also haven't tested what happens with multiple records in the Found Set, but at worst you could script the database to only have the one record you need in the Found Set. Otherwise, Ursus' suggestions or a plug-in would be the only way ... or copying the image file manually of course. FileMaker Pro is a database application. It's not designed for doing OS-level file manipulation. Helpful Harry :o)
Back to comp.databases.filemaker | Previous | Next — Previous in thread | Find similar
Copy file Command line in Filemaker steve.slater@fmdatanet.co.uk - 2018-08-21 07:29 -0700
Re: Copy file Command line in Filemaker ursus.kirk@gmail.com - 2018-08-21 16:58 +0200
Re: Copy file Command line in Filemaker Helpful Harry <HelpfulHarry@BusyWorking.com> - 2018-08-22 09:20 +1200
csiph-web