jrm Posted December 14, 2018 Posted December 14, 2018 (edited) 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, 2018 by jrm
comment Posted December 14, 2018 Posted December 14, 2018 You can "send command line instructions" by invoking the do shell script command within AppleScript.
jrm Posted December 16, 2018 Author Posted December 16, 2018 Thank you. Didn't realize the solution was that simple.
comment Posted December 16, 2018 Posted December 16, 2018 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
jrm Posted December 16, 2018 Author Posted December 16, 2018 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.
Recommended Posts
This topic is 2168 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now