Jump to content
Server Maintenance This Week. ×

Applescript to return a value


This topic is 6090 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Can I make filemaker run an applescript and return a value?

For example:


tell app "Finder"

count every folder of desktop

end tell

If not, what is a work around to get the value returned from an applescript into a field?

Edited by Guest
typo
Link to comment
Share on other sites

You can set a field in FileMaker. E.g.

tell application "FileMaker Pro"

  set data cell "Number of Files" of current record to "X"

end tell

This is a script that would work outside of FileMaker. To make a script for the Perform AppleScript[] script step you need to omit the tell application "FileMaker Pro" block.

Link to comment
Share on other sites

This topic is 6090 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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