mechbull
Computer
- Nov 28, 2005
- 36
how do you create a mapkey so that pushing it 1 time turns something on pushing it again will turn it off
there are currently keys like this set up here but would like to know how to create them. here is an example of 1 that turns datum planes on and off just using the (f9) key
mapkey $F9 @MAPKEY_LABELToggle Planes;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_env`;\
mapkey(continued) ~ Activate `env_dlg` `DtmDsply_PB_DtmPlanes`0 ;~ Activate `env_dlg` `Apply_`;\
mapkey(continued) ~ Activate `env_dlg` `OK_`;
there are currently keys like this set up here but would like to know how to create them. here is an example of 1 that turns datum planes on and off just using the (f9) key
mapkey $F9 @MAPKEY_LABELToggle Planes;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_env`;\
mapkey(continued) ~ Activate `env_dlg` `DtmDsply_PB_DtmPlanes`0 ;~ Activate `env_dlg` `Apply_`;\
mapkey(continued) ~ Activate `env_dlg` `OK_`;