Powershell Studio OwnerDraw Control - forms

I'm creating a form in Powershell studio but I'm can't get it to look the way I want. The Highlighting on objects once they've been checked or selected is anoying. I've heard I can Use the OwnerDraw control to modify this but the only code for this i can find is in C# and I can't convert it.
I need help with this or just making it so it 'un-highlights' it after say 1 second? I've used the Timer control before so could have it un highlight some how but I can't even find code examples for this either. I'd very much appreciate any help If people understand my question. Thanks.

$checkedlistbox1.SelectedItem = $null
with a timed reset. Sorted. Thank you anyway all that read!

Related

Phantom line display in Visual Studio Code IDE

In VS Code I have a tab with a plain text file I use for scratch while working during the day. I place all kinds code, questions, TODO lists, etc in this file and will reference it from time to time. It's helpful for history purposes.
At any rate, this file has ballooned up to well over 46,000 lines over the years and I'm now seeing this odd phantom line being injected at my cursor. I am unable to select it or remove it. I thought it was being displayed as VS Codes way of letting me know that a software update was available but when checking that was not the case. This is what it phantom line looks like, it seems to contain a history of CSS classes used over the years which is odd.
If I restart VS Code it goes away for a little while but then reappears. I have a feeling it might be because of the number of lines or perhaps memory but can't say for certain.
Has anyone else seen this behavior? I've probably enabled some setting by mistake and have no idea how to disable it.
Any suggestions would be greatly appreciated. Thank you!
Turns out it was the HTML End Tag Labels plugin that was trying to auto complete some HTML that was somewhere within the 46k lines.
I would have thought by identifying the file as type Plain Text, the plug-in would ignore trying to close HTML tags (since its not an HTML file) but alas that's not the case.
Thank you Mark Ahrens for the tip!

Un-minimizing Functions With An Error in Visual Studio Code

I have a slight annoyance, not so much an issue. See, in some VSCode update a while back, apparently a feature was added that automatically un-minimizes functions if they have an error in them. This just creates a minor convenience for me if I have many functions minimized that all collectively contain an error, when I unassign a variable that they all use for example.
I have so far attempted to look around in the settings menu to turn off this feature but no luck. I have also attempted to find an answer online but... no luck.
Any help would be greatly appreciated, thank you so much, you're a life saver!

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

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.

How to disable infinitely indexing source files in Visual Studio Code

My Visual Studio Code (1.16.1) doesn't stop this indexing anymore. I try to wait too long time, but it indexing continues with hard disk extensive loading.
How can i find solution for this problem? I'd like to indexing working, but wan't doing it all of time when Visual Studio runned. Help me, please.
P.S. When I close Visual Studio Code - hard disk become to still and isn't hearing.
After two hours of lazy digging to this trouble, i find solution: that is a "vscode-ruby" extension. After uninstalling problem discontinued.
So, question tag need to be updated: 'vscode-ruby' tags needs.
"Disabling indexing would break most functionality and it would not be helpful providing a config option for this."
https://github.com/bmewburn/vscode-intelephense/issues/71

Did visual studio code implement find and replace

I am reading https://code.visualstudio.com/Docs/editor/codebasics.
I see that there is mention of a find and replace coming soon. I am wondering if this has been created? Or if anyone has figured out a workaround to doing a replacement. I need to replace a certain property in my application 300 times and do not want to do this manually.