On 2010-02-25 07:53:19 -0800, Darren Burgess said:
> Is there a function or technique for capturing the Custom menu
> selection that a user makes? That is, if a user selects from my
> Reports custom menu the "Admissions Audit" item, can I somehow capture
> that menu title in a variable? I would then pass that variable into
> the script called by the menu. Such could then be used to navigate to
> the correct layout or whatever.
When you create your custom menu item, don't select a script for it to
perform, instead, select a Script Step, the script step is "Perform
Script" and include a script parameter to identify the item selected.
The script parameter can be stored in a variable to persist after the
script, or it can be used as is using the Get(ScriptParameter) function.
If you're not using script parameters in your scripting, you're missing
a lot of power.
--
Lynn Allen
--
www.semiotics.com
Member FBA
FM 10 Certified Developer