I would like to know if there is a way to bind a mouse button to a specific keyboard shortcut in Xcode. My specific use case here is to be able to navigate by using the mouse side buttons. It is possible in vscode to Go Back with ⌥⌘9 and Go Forward with ⌥⌘0 but my side mouse button (Logitech G402) also get mapped to this action.
In Xcode, I tried setting ⌘9 to Go Back and ⌥⌘9 to Go Back in Next Editor but the mouse button doesn't trigger the shortcut of the navigation action.
I know a workaround would be to create a profile in ghub only for Xcode, to bind the side button to a specific key binding and use this key binding in Xcode, but I was curious if there was another way to navigate with the mouse in Xcode.
Kind of a workaround, but I've managed to make this work by running the Sensible Side Buttons and GHub app side by side. Sensible Side Buttons dont have any impact on the macros I've created with GHub and XCode seems to recognize the navigation command when this app is running.
It can be downloaded with :
brew install --cask sensiblesidebuttons
Related
I am trying to mouse hover a menu option using blue prism. I tried HTML/Win32/AA/Region mode while spying but none of them worked. If I click on that element, I will be navigated to a different page.
Any pointers will help.
Thanks
Not sure if you still need an answer on that as this question is more than month old.
If I understood you correctly, you want to hover mouse pointer over menu and then select one of the options from the drop down list. If so, there might be some options to achieve that without clicking on the menu itself.
If you want to open same link every time you navigate through this website, then you can launch the target URL instead of navigating through the menu.
Some HTML elements doesn't need to be visible to be active, on some websites you can 'click' on menu item without it being presented in form of drop down list. You can try to spy that element and navigate directly to it. If you won't be able to spy it you can search for correct element in application tree (Application Modeller -> Select some element -> click on arrow next to Identify button -> Open Application Navigator). Then you can use Mouse Click on that element via Navigate stage.
I've tried to imitate mouse hover on some website by spying whole browser window with Win32 mode, and then using Drop option in Navigate stage, giving the menu exact coordinates. Seems to be working, you can try this option as well.
You can test how menu reacts on Focus method in Navigate stage, but I wouldn't get my hopes up with this option.
If you share link to the website, then maybe I'll be able to help more.
I'm using ARC Welder to test an APK in Chrome (on Windows). It works mostly fine but the app uses an old-style Android menu, opened by either pressing the hardware button on old devices, or touching the "3 vertical dots" soft button on newer ones.
However the ARC window doesn't use a menu button nor does there seem to be a keyboard shortcut to open the menu (not that I could find anyway).
Any ideas?
(Note: I know Google has more or less depricated there old style Android menus. But this is in an old APK).
ARC does not provide a way of simulating an Android menu button. We have thought about providing a button in the window frame, like we do for the back button, but we have not moved forward with it. Feel free to star the bug for it
Ctrl+Windows+Esc (Win key is to prevent Windows opening the Start menu):
https://github.com/vladikoff/chromeos-apk#tested-apps
Right Alt should work as well but most keyboards lack that key.
https://bugs.chromium.org/p/chromium/issues/detail?id=290361#c9
I'm TV'ing from a remote location to my mac to play around with XCode (on a windows pc). Within the interface builder, I'm trying to perform the control drag action. I tried pressing the ctrl button and dragging a view controller but nothing happens. If it's of any significant, I have send key combinations checked.
As a workaround, instead of control dragging try control clicking on the object you wanted to drag from. The black pop up box that lists the object's outlets etc will appear, and from there you can left-click drag from the circles to wherever you want.
Try the windows key, it will function similar to OSX Command key
Can confirm on Mac using TeamViewer 10.0.52680, right-click or control-click on an object on a story board and simply left-click dragging to the view controller will create the proper referencing outlet.
If you have issues with the right click, go to TeamViewer preferences on the machine you are removing from, go to Advanced > General and select "Use control and mouse click as right mouse-click". This will enable you to send the control button and left click combination to your remote machine as a right click.
I am just starting off with iOS development. I am trying to add action to a button and it is mentioned on apple developer site that "To Control-drag, press and hold the Control key while you drag from the button to the implementation file in the assistant editor pane."
But am not able to do this. What is control key? How can i do this? When I try to add control drag, entire button is getting dragged and am not able to see any control-drag arrow. Thanks a lot for your time.
You can either click and drag with the right mouse button (if you have one), or hold down the Control key while you click and drag with your left (single) mouse button.
By "Control" key, they're referring to the Control key on your keyboard:
I've created an interface nib/xib file. The app is basically working, which is cool. The standard toolbar buttons look bad, they're glossy and raised, while most apps in Lion have the flat, inner bevel look. So I created some image toolbar buttons and put them in the toolbar and they look great, but they're all disabled by default.
Is there a way to give these the correct state in InterfaceBuilder or do I have to use code to give them the proper state.
Cocoa and Objective C are very unfamiliar so it would be helpful to me if I just knew what to search for. Most of my searching brings me results for creating custom buttons for iOS.
I figured this out, here's what you do:
In the nib/xib file, double click your menu bar to show the "allowed toolbar items" sheet. From here, choose your button that you've created. In my case I'll select a back button that I want to connect to a webview control. Ctrl click + drag from the button to what you want to connect it to and then make the appropriate connection. In my case I choose goBack from the WebView.
Once it has a connection it now becomes active.