Alt bindkey modifer problems in layout session:
I have the environment variable set to use the Alt key and the hiBindKeyModifiers show I have the key as a modifier.
envSetVal( "ui" "enableMenuShortcuts" 'boolean nil)
("Shift" "Ctrl" "Alt" "Meta")
Is there any other system settings or environment variables to from using the Alt bindkey?
If you call envSetVal( "ui" "enableMenuShortcuts" 'boolean nil) you get a popup as the attached picture shows. What this is telling you is that you need to actually set it via a .cdsenv file not using SKILL.
Did you try that? Which version are you using? (type getVersion(t) in the CIW).
Sorry I forgot to include the version.
"sub-version IC6.1.5-64b.500.15 "
I dont get the pop up as you have pictured.
I tried setting the variable in my cdsenv and loading the variable in the CIW.
You won't get the popup if you've already set it to nil via a .cdsenv file.
So what's not working? I just tried doing:
hiSetBindKey("Layout" "Alt<Key>B" "println(23456)")
and then I hit Alt-B in the layout, and it printed the number in the CIW. I tried ISR15, and it worked fine.
What happens if you go into the BindKey UI (in Options->Bindkeys) and then try to add a bindkey? If you double click in the bindkey field on the right hand pane, you can hit the key combination (e.g. Alt-B) and see whether it enters the bindkey sequence or not.
Did the accelerator keys work before you turned them off? Maybe your window manager is swallowing the Alt key bindings?