Jump to content
Sign in to follow this  
obbiez

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.

----

Obbie

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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