Jump to content
Sign in to follow this  

AppleScript results

Recommended Posts

I have developed a snippet of AppleScript that I am calling from within a FileMaker script. The AppleScript checks to make sure that certain conditions are met regarding the configuration of the machine. I would like to be able to pass a boolean result back to the FileMaker script, which would then prompt the user accordingly.

I know I *could* pass the info back to a field, etc. of the database I am opening (the script would run on open), but I don't wanna do that.

Does anyone know an easy way to pass an AppleScript result back to the FileMaker script that contains it?

Thanks in advance.



Share this post

Link to post
Share on other sites

If you don't put the result into a Filemaker field, how do you plan to test the result in your script? Logical functions in Filemaker scripts can only test expressions based on field values. You could copy the result to the clipboard, but you would still have to paste it into a field to test it. There is really no more elegant solution that I can think of than setting the value of a global field to the applescript result.

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.

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  

  • Who Viewed the Topic

    1 member has viewed this topic:
  • Create New...

Important Information

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