XMBC Version: 2.19.2
Windows Version: 10
Mouse Information (brand/model): Logitech
Relevant Computer Information (CPU, RAM etc): Average laptop, not underpowered
Did the problem occur after an upgrade of XMBC? (If so, from what version?): No
Did the problem occur after a Windows update/upgrade? (If so, from what version?): No
How long have you used XMBC?: 1 Month
What language and keyboard layout do you use in Windows?:
Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).: I have a middle button keystroke that fires an '{ALT}{PRTSCN}' to take a printscreen of the active window. This works great. However, I would like this behaviour to also activate the window that the mouse is hovering over at that time. I do NOT want to have the native 'Active window on hover' functionality of Windows activated all the time.
My use case:
I am using multiple monitors to enter data into a web-based spreadsheet (Airtable, that will accept pasted screenshots). I want to move from editing the spreadsheet to the app I want screenshots of and when I middle click the mouse the web browser window for Airtable is still active - I want the middle click to activate the other application window, and then take the screenshot. Otherwise I have multiple times accidentally taken a screenshot of the web browser window when the mouse has been hovering over the other app window.
Does that make sense?
And I repeat, I don't want to have to use the windows ease of access method of having whatever the mouse is hovering over as active all the time.
Any help appreciated in advance!
Activate window AND alt + printscreen middle button
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
-
- New User
- Posts: 4
- Joined: Mon Aug 09, 2021 7:47 am
Re: Activate window AND alt + printscreen middle button
Hi, there are several tags to active the window in the simulated key sequence.
Try adding either {ACTIVATE}, {ACTIVATEPARENT} or {ACTIVATETOP} before the {ALT}{PRTSCN}.
If that doesn't work, try a simple {LMB} first!
Regards,
Phil
Try adding either {ACTIVATE}, {ACTIVATEPARENT} or {ACTIVATETOP} before the {ALT}{PRTSCN}.
If that doesn't work, try a simple {LMB} first!
Regards,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
-
- New User
- Posts: 4
- Joined: Mon Aug 09, 2021 7:47 am
Re: Activate window AND alt + printscreen middle button
Hmmmm, I tried all of those and none seemed to work. I even tried ticking the 'Activate window when scrolling' but still no joy.
As a work around I can right click then middle click I think
As a work around I can right click then middle click I think
Re: Activate window AND alt + printscreen middle button
Maybe you could try adding a delay between the activate and subsequent commands...
Try sticking a {WAITMS:500} after the activate.
IF that still does not work them I'm at a bit of a loss as to why not!
Are you using the portable version or the installed version (and if installed, is it installed to the default location under Program Files? if not (or if its the portable version), it may not have the required permissions to interact with the other window - but I doubt its that - you could try running XMBC as administrator and see if it makes any difference if you want).
Try sticking a {WAITMS:500} after the activate.
IF that still does not work them I'm at a bit of a loss as to why not!
Are you using the portable version or the installed version (and if installed, is it installed to the default location under Program Files? if not (or if its the portable version), it may not have the required permissions to interact with the other window - but I doubt its that - you could try running XMBC as administrator and see if it makes any difference if you want).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
-
- New User
- Posts: 4
- Joined: Mon Aug 09, 2021 7:47 am
Re: Activate window AND alt + printscreen middle button
Cool, tried the wait thingy but didn't work. It's standard install, might try the admin install
Re: Activate window AND alt + printscreen middle button
Standard install to the default location *shouldn't* need admin - but its always worth trying exiting XMBC, then (re)running it as administrator temporarily just to check.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
-
- New User
- Posts: 4
- Joined: Mon Aug 09, 2021 7:47 am
Re: Activate window AND alt + printscreen middle button
Thanks Phil, I rebooted after reinstalling as admin and tried '{ACTIVATETOP}{WAITMS:500}{ALT}{PRTSCN}' and that worked! Many thanks for all the help!