When search triggered, close window?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ozgurerdogan
Posts: 47
Joined: 27 Apr 2017, 02:32
Contact:

When search triggered, close window?

27 Apr 2017, 02:47

I want to close close (Roboform's Quick Search Box) window, when search triggered. But I can not do that. So currently I am closing it after 10 sec.
Can you please modify my code so it closes small search box when enter key is pressed but it should also of course search the text in browser?

Code: Select all

!Z::
IfWinNotExist ahk_exe robotaskbaricon.exe
	run, "C:\Program Files (x86)\Siber Systems\AI RoboForm\identities.exe" -sb
WinWait, ahk_exe robotaskbaricon.exe
ControlFocus 
winactivate, ahk_exe robotaskbaricon.exe
IfWinExist ahk_exe robotaskbaricon.exe 
{
Sleep, 10000  ;
WinClose
return
}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doodles333, Google [Bot] and 387 guests