December 14, 20187 yr Running FileMaker Pro 16 Advanced on a Mac (NOT Server). I currently have some databases set up to send data to a third party software to create barcode files. Data is imported into FMP and there are buttons that activate scripts. Everything is working fine. My understanding is that FMP talks to the other software via AppleScript. However, I may need to switch my third party solution and I cannot find anything that will do what I want via AppleScript. A few claim to work via Automator and one other seems to work via "Command Line" input. My question is - can I send Command Line instructions from FMP 16? I have searched this forum and the internet in general and the only references I see to FMP and the Command Line are related to some functions on the Server version. If FMP cannot directly access the command line on a Mac. If so, can you point me to a reference with information? If not, is there a way to access "Terminal" from a FMP script to send the necessary data/commands? Thanks. Edited December 14, 20187 yr by jrm
December 14, 20187 yr You can "send command line instructions" by invoking the do shell script command within AppleScript.
December 16, 20187 yr For the sake of completeness: you can also use the (free) BaseElements plugin to perform a command line script - on both Windows and macOS: https://baseelementsplugin.zendesk.com/hc/en-us/articles/205350557-BE-ExecuteSystemCommand
December 16, 20187 yr Author Thanks for the suggestion.I do have BaseElements installed. I ran into errors when trying to use it. Probably due to one or more syntax errors on my part. "do shell script" works perfectly for my needs, so I didn't bother to figure out what I was doing wrong with BE.
Create an account or sign in to comment