May 26, 200520 yr Don't suppose anyone has found a way to pass a script parameter with the applescript "do script" command?
May 27, 200520 yr 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
June 12, 200520 yr 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
October 6, 200619 yr 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.
October 7, 200619 yr 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.
February 27, 20196 yr 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
February 27, 20196 yr 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).
Create an account or sign in to comment