I've been looking, but I can't seem to find how to change the mouse behavior to allow for pressing the right-mouse button down to open the context menu. I would like to be able to press down the right-mouse button to have the menu open, then drag the cursor to a selection and release the right-mouse button, opening the selection. I'm looking to have this behavior only while Firefox is in focus.
Something like:
If Firefox is in focus
*Pressing down on the right-mouse button causes a right mouse up event
*Releasing the right-mouse button causes a right mouse click where the cursor is
Is that possible...?
Thank you
The question is pretty old, but the answer is realy simple:
#IfWinActive, ahk_class MozillaWindowClass
*$RButton::
SendInput, {RButton Up}
Return
RButton Up::
SendInput, {LButton}
Return
Related
I open a lot of tabs in sublime, when I switch tab by clicking other tab, I sometimes mis-click on their close button.
Is it possible to hide the close button(X) in sublime? I usually close with keyboard shortcut or middle click, so I don't need the close button.
Add this in preference:
"show_tab_close_buttons": false
my idea is to make a simple program with one Buttons in AppleScript (Xcode).
When you press the button, a new window should open.
on button_(sender)
--open second window
end button_
But how I can make this?
Thanks to you an stay health!
I have a weird behavior on firefox. When I righclick anywhere, a click event is fired over the contextual menu that is displayed. (this happens only in the document itself. Not in any menu or bar.
This means (according to my contextual menu at least) that any right click on a link opens the page in an incognito window, and any right click on an empty space triggers "save as"
I have disabled all extensions, but it still happens. For the time being I've resorted to holding right button and then selecting the desired option in the contextual menu.
(PD: I saw a similar question but the behavior is not quite the same)
I have the opposite issue with Firefox/macOS.
When I try to catch a mouseup event and Ctrlis pressed it returns event.button: 2 or event.which: 3. I have not found any post related to it.
Chrome and Safari return 0 as it should be.
I have not figured out why.
This question is in response to Drag and Drop with NSStatusItem
The code from #rob Keniger works for me. Following these exact steps, When I run the app, click the menu bar icon, I can drag things to my drag area and everything works. My problem is if I run the app, (then instead of clicking the menu icon first) click Finder, then click the menu bar icon, when I try to drag, the menu closes as I'm dragging.
How do I make the menu view stay open every time the user has the menu open and is dragging?
Looks like you have to do this:
[NSApp activateIgnoringOtherApps:YES];
I want to open the popUp menu through the TAB button. Attaching an image to explain it.
When I press TAB on the first textField it should open the popUp menu below it and so on. Currently it just selects the popUp menu and we have to click on it to open.
Please let me know if there is a way to open the popUp menu through TAB.
Thanks