Setting key equivalent for menu items in IB?
Setting key equivalent for menu items in IB?
- Subject: Setting key equivalent for menu items in IB?
- From: Alex Hall <email@hidden>
- Date: Thu, 03 Sep 2015 21:25:50 -0400
Hello all,
I know this is normally a trivial process: select the menu item, click the Attributes Inspector, set the key equivalent. The problem is, it's apparently impossible for VoiceOver to manage, and when I file the bug, I want to be sure I know where the problem lies.
The question, then, is simple: exactly how do you set a key equivalent in IB, assuming enough vision to do it the "normal" way? Specifically, where do you go in the Attributes Inspector, and how do you enter the desired keystroke?
VO tells me about the text field for the title of the menu item, then it reports a text label that reads "key equivalent". Next to that is the checkbox for whether this menu item is an alternate. For items that are preset, like Undo or Copy, there's an unlabeled AX button just before the "key equivalent" label. Sometimes, by playing with mouse routing/click commands while focused on that label, I can get an untitled window to appear. Switching to it results in VO being completely stuck for the few seconds I have before the window vanishes. I've tried quickly typing the keystroke I want--thinking I had landed in some kind of odd text field--while this mysterious window is open, but that doesn't do anything. I have a feeling there's either a step I'm missing, or--more likely--the necessary control for this is invisible to VO.
Setting it in code, for the record, fails as well, since I get errors about the key mask I want not being a member of NSEvent. That's a different topic, but I wanted to mention that I've tried just coding it, and was unable to do so, hence my desire to alert Apple to the inaccessibility of this process in IB.
--
Have a great day,
Alex Hall
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden