cancel
Showing results for 
Search instead for 
Did you mean: 

Menu item as separate button

former_member99246
Discoverer
0 Kudos

Hello,

Any possibility to create separate button from some submenu using Personas Slipstream?

Best regards,
Pawel

Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

If all you want is a separate button which activates a certain function in a submenu, the easiest way is via using the "Menu Items Button" object.

Damean
Active Contributor
0 Kudos

If I understand you correctly (i.e. You want the access the function of the Drop Down menu via Personas Script Button), it should be straight forward

First of all, check whether the said drop down menu has a FastPath or FunctionCode; that you could use directly used from the OkCode field.

If yes, then use the following code snippet to create your own script and assign that script to the Personas Script button; and you're done.

session.findById("wnd[0]/tbar[0]/okcd").text = "<FastPath\FCode>";

session.findById("wnd[0]").sendVKey(0);

If neither is available, then create a script and just record your action for accessing the drop down menu path. The rest of the step is the same.