Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Don't suppose anyone has found a way to pass a script parameter with the applescript "do script" command?

Posted

Do you mean something like this:

set myvar to "/Users"

set mylist to (do shell script "ls -l " & myvar) as text

display dialog mylist

Reese

  • 3 weeks later...
Posted

I think he means something like this (pseudocode, this doesn't work):

tell app "Filemaker Pro"

do script fileMaker script "Export" script parameter "Whatever"

end tell

  • 1 year later...
Posted

I know this thread is way way old, but I am wondering if something like this is possible in FileMaker Pro 8.

I have an AppleScript that runs and gets a value. Now I would like to tell FileMaker to search for the value.

Posted

AppleScript can set a global field in FileMaker, before the script. You have to either have the global on the current layout, or specify its layout or table occurrence in AppleScript; otherwise it has no idea what table you're talking about.

Of course, AppleScript can also run a FileMaker Find, though the syntax is different. If you have FileMaker 7, I believe they still included a folder of example AppleScripts, in the FileMaker app folder. It's too bad they no longer do that. Too lazy to update them would be my guess. It's not like AppleScript's obsolete, far from it.

  • 4 weeks later...
  • 12 years later...
Posted
On 10/6/2006 at 9:31 PM, Fenton said:

AppleScript can set a global field in FileMaker, before the script. You have to either have the global on the current layout, or specify its layout or table occurrence in AppleScript; otherwise it has no idea what table you're talking about.

I know this is mucho ancient but could you clarify this part...

Tried this, but no go:

tell application "FileMaker Pro" to tell database "myDB" to tell layout "Aux" to set cell "Aux::arguments_AuxWindow" of current record to 1

 

Posted

If the file 'myDB' is open and in front, you can do simply:

tell application "FileMaker Pro" to set cell "Aux::arguments_AuxWindow" of current record to 1

If the field is global, then you can remove the "of current record" part (but the field still has to be on the layout of the foreground window).

This topic is 2094 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.