I have a simple remapping PrintScreen::Ins. It works fine pretty much everywhere except PowerShell. For some reason Ctrl+Ins (copy) doesn't work. It doesn't work neither in PowerShell 7.3 run in Windows Terminal, nor in older PowerShell 5.1 run in Windows Console. Interesingly, Shift+Ins (paste) works fine.
I can probably workaround this in several ways. But I would like to keep the code at minimum, so I am wondering what is so special about PowerShell, Ctrl+Ins and this remapping.
I am using 2.0-rc.1.
[Mod edit: Topic moved to v2 help.]
Remapping to Insert and PowerShell
Re: Remapping to Insert and PowerShell
Welcome to this AutoHotkey forum!
I haven't tried it, but you might want to test UI Access to see if that helps.
I haven't tried it, but you might want to test UI Access to see if that helps.
Re: Remapping to Insert and PowerShell
Thank you for the suggestion. I just tried with UI Access, still doesn't work.
Re: Remapping to Insert and PowerShell
When I tried Ctrl+C in PowerShell, it copied the selected text.
Re: Remapping to Insert and PowerShell
Ctrl+PrintScreen worked here.
Specific questions:
1. Are you showing your entire script?
2. Are you running other scripts?
3. Have you examined the KeyHistory? Mine is shown below.
Specific questions:
1. Are you showing your entire script?
2. Are you running other scripts?
3. Have you examined the KeyHistory? Mine is shown below.