Link key/button to the I'l feeling lucky from Play Music - autohotkey

so I always have a tab in Chrome opened with google play music, it's actually pinned so it's just there.
I'm wondering if there is any way to link a hotkey to the I'm feeling lucky option, I've been looking for quite some time but didn't find anything of help.
Button looks like this:
Thanks!
I've looked and asked on the AHK forums but don't know how many people are active there so thought I might give it a try here as well. Googled around but sadly didn't find anything of use or what I did find was a bit too complicated for me and didn't know how to apply it to what I needed.

There is no straightforward solution for this in AHK.
You need control over your browser in order to achieve this without interrupting your current navigation.
For controlling chrome with AHK: https://github.com/G33kDude/Chrome.ahk

There are probably multiple ways of doing this, but the easiest I can think of would be to use the ImageSearch command to get you the coordinates of the button and using Click or MouseClick to click the button.
If you're unfamiliar with the syntax or how to use these commands, please see the online documentation here: ImageSearch, MouseClick, Click.
Please post your code if you need additional assistance and/or to help out others who might have the same or similar question in future.

Related

Is there a way to get a help panel in vscode similar to rstudio?

I wanted to ask if there was a simple way to get a help panel in vscode to show function/object documentation similar to the one in RStudio (See example here: http://mercury.webster.edu/aleshunas/R_learning_infrastructure/images/RStudio%20-%20help%20panel.png).
I know you can mouse over a function to get some details but I'd like an easier way to have the complete documentation in vscode without switching to a web browser.
Thanks!

What messages TEdit in delphi needs to answer in order for Windows Text Suggestions to work

When you create an new VCL form with one and put one TEdit and one TComboBox in it windows text suggestions works only with TComboBox. I guess this is because the Edit part of the combobox is a windows edit. I cannot seem to find anywhere how to make the VCL's edit behave the same way. Is there some IME messages I need to handle in a certain way or anything else?
What you ask is usually named autocomepletion.
TEdit doesn't support this out of the box (Not that I am aware of).
But there are several solutions floating around on the internet.
Not a direct solution, but have look at the answers to this question and also this one.
There is source code available for several solutions, you'll find it with this search on Google.

how do i make a roblox character move towards where it is looking at?

I can't find anything that can help me with this, and even tried to get answers from people on a discord server, but was still unable to find how to do this. If you find the answer, please provide the code, and where to put it. Thanks!
I did a bit of research and found a couple of things that might help you.
First, there is a roblox scripting forum that might be a bit more helpful for you
here.
Second, you'll need to do two things.
a) get the cameraAngleX and cameraAngleY
b) pass those two the humanoid:move function Link to docs
You would then call the humanoid:move function however many times a second you want, which would move the player in the desired direction.

VBA hide form from menu

I'm trying to hide a form from the menu using VBA; I've Googled this, but everything is giving me the .visible option, however I want to hide it from the groups menu located on the left side. I could just as easily manually do this, however it's very tedious and I can't be going on other user's computers to do so.
Is this possible?
I might suggest normally you should only disable menus vs. removing them all together, might suggest doing an enable/disable menu item instead..
It should be possible but how much work is it and is it worth it to you? It isn't clear what your host application is just that you're using VBA. Might suggest the host application may already allow for customization if so use what it provides.
If the app doesn't allow customizing your menu you can still do it, just how much work is it worth for you? You'll need to look at the Win32 way of doing things. If not familiar with Win32 and menus take a look and start here looking here at MSDN to start learning about menus in Windows. After this you'll find Pinvoke will be handle to give you C#/VB sample to call what is needed. The VB should be useful but you will probably need to further translate the VB to VBA for your needs. FYI when starting out a a C/C++ developer back in the day 30 years ago it was anticipated anyone getting into windows might take them a few months, there is a lot you'll need to get up to speed on. Thus is this feature really worth it?

Wordpress search also shows

I'm trying Agolia to see if it is something for our websites. So I did a little test on one of our websites (click here, it works but you also get the original dropdown. Does anyone know how to prevent this?
The theme you are using does come shipped with a built-in autocomplete experience.
You should disable that one.
An easy fix for you would be to comment all the code in this file https://eezo.nl/wp-content/themes/yoo_venice_wp/warp/vendor/uikit/js/components/search.js