Jump to content
Sign in to follow this  
jrm

Command Line - is it available

Recommended Posts

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 by jrm

Share this post


Link to post
Share on other sites

You can "send command line instructions" by invoking the do shell script command within AppleScript.
 

Share this post


Link to post
Share on other sites

Thank you. Didn't realize the solution was that simple.

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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