July 26, 200520 yr So you can change to a layout based on a calculation, but I can't find anyway to call a script by a calculation. I'd like to store a script name in a record, and when a button is pressed on that record call that script. Anyway to do this? I'm about to try using the MacExample plugin with XMpl_StartScript
July 26, 200520 yr There's no equivelant built-in way to do this with scripts. You might use a series of If-Else statements in a main calling script that checks the values of a field and branches accordingly: If [ gScriptToCall = "Go to Main" ] Perform Script [ Go to Main ] Else If [ gScriptToCall = "Go to Personnel" ] Perform Script [ Go to Personnel ] ... End If
July 26, 200520 yr Author Yeah, I figured that might be the answer, but I don't think an if is gonna work for what I want to do. I'm gonna try the XMpl_StartScript, but I wonder what the best way to trigger it is. With a Set Field? Thanks.
Create an account or sign in to comment