If I have several open tabs on either chrome or edge browsers and hand-keyboard enter Control-W, or Control F4, a single browser tab will close. The browser and other tabs remain open.
Hand-keyboard entry of Alt F4 will close the browser and all tabs.
My script includes a
"Sendinput, ^w" or "Sendinput, "^{F4}" command
The script Sendinput command (above) shuts down the whole browser and and all tabs.
Anyone know why the keyboard entry gets different results than the same command via script?
Background:
windows 10, chrome or Edge. All current updates
The commands above have worked correctly in the past.
Thanks for any ideas.
Submitinput, ^{F4} or ^w
Re: Submitinput, ^{F4} or ^w
I had no problem with the following.
Unfortunately, Chrome is designed so that the browser closes when you close the last tab.
Post your script for feedback about it.
Code: Select all
#IfWinActive ahk_exe chrome.exe
^F3::
Send ^w
SoundBeep, 1500
Return
#IfWinActive
Post your script for feedback about it.
Re: Submitinput, ^{F4} or ^w
Ignore question! The problem appears to be a conflicting command somewhere in the script.
Sorry for wasting someone's time
Thanks just for being here!
Sorry for wasting someone's time
Thanks just for being here!
Who is online
Users browsing this forum: Araphen, DaveT1, Descolada, Google [Bot], Oblomov228 and 170 guests