Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUIXT pushbutton for menu items having same internal fuction code

Former Member
0 Likes
892

Hi,

Here there is the issue as the title:

GUIXT pushbutton for menu items having same internal fuction code

transaction: CO02

menu: Functions->Restrict processing->

                                                          Lock

                                                          Unlock

                                                          Complete Technically

                                                          Revoke Technical Completion

                                                          Close

                                                          Revoke close

They all share the same code 'ACTD'

pushbutton (toolbar) "@3B\QTest butt2@Lock" "ACTD"

pushbutton (toolbar) "@3B\QTest butt2@Lock" M[2,9,1]

Above script does not work to select item Lock.

For deletion: http://www.synactive.com/docu_e/specials/menuitems.html

Advice appriciated. Thanks.

1 ACCEPTED SOLUTION
Read only

script_man
Active Contributor
0 Likes
517

Hi Max,

please see after (right mouse button), if you can call the above function by using the function keys or a combination of Shift / Ctrl / F key.

In this case, you could try the following:

For example:

Lock ..........................................(Shift / F2)

Unlock .......................................(Shift / F3)

Complete Technically ...............(Ctrl / F2)

Revoke Technical Completion...(Ctrl / F3)

etc.

This would allow the push buttons are defined as follows:

pushbutton (toolbar) "@3B\QTest butt1@Lock" "/14"

pushbutton (toolbar) "@3B\QTest butt2@Unlock" "/15"

pushbutton (toolbar) "@3B\QTest butt3@Complete Technically" "/26"

pushbutton (toolbar) "@3B\QTest butt4@Revoke Technical Completion" "/27"

etc.

Shift = +12

Ctrl = +24

Regards,

ScriptMan

1 REPLY 1
Read only

script_man
Active Contributor
0 Likes
518

Hi Max,

please see after (right mouse button), if you can call the above function by using the function keys or a combination of Shift / Ctrl / F key.

In this case, you could try the following:

For example:

Lock ..........................................(Shift / F2)

Unlock .......................................(Shift / F3)

Complete Technically ...............(Ctrl / F2)

Revoke Technical Completion...(Ctrl / F3)

etc.

This would allow the push buttons are defined as follows:

pushbutton (toolbar) "@3B\QTest butt1@Lock" "/14"

pushbutton (toolbar) "@3B\QTest butt2@Unlock" "/15"

pushbutton (toolbar) "@3B\QTest butt3@Complete Technically" "/26"

pushbutton (toolbar) "@3B\QTest butt4@Revoke Technical Completion" "/27"

etc.

Shift = +12

Ctrl = +24

Regards,

ScriptMan