Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing variables from menus
#1
Is it possible to pass a variable from a menu list to the calling macro.

For instance I have three names

John Jones
Judy Smith
Paul Johnson

When the person selects the first name I would like a string variable like Name to equal "JOHN JEREMIAH JONES". I need this to work in the menu format so I do not have to rewrite if statements based on the number returned from the menu. Currently the variable 'Name' is getting a number pushed into from the menu even though I have menu populated as

John Jones :"JOHN JEREMIAH JONES"

It pushes the text into a blank field if it on a place where text can be entered but the name variable is still just showing 1 no matter how I create the string variable. Is what I am asking possible?

The command I am currently using in the calling macro = AgentName = mac("Menu - AVS Agents")

Thanks.


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)