How to activate a window after losing focus?

So, I use this wonderful software called Website-Watcher, which is an rss feed reader and web content tracker.

I configured it to open external links in firefox, which opens tabs in the background.

BUT the problem is that Website-Watcher loses focus after I hit some link, so there is a way to open the link, restore lost focus and send a click to be able to scroll, I found a script that activates the scroll window mouse, but the scroll function of the program is not restored.

Please give me some ideas!

EDIT UPDATE: I finally got it working, the problem was related to Windows 8.1 administrator privileges because I was launching the Web Page Monitoring application, the script that I used stopped working.

The scripts are here:

http://www.autohotkey.com/board/topic/6292-send-mouse-scrolls-to-window-under-mouse/ http://www.autohotkey.com/board/topic/99405-hoverscroll-verticalhorizontal- scroll-without-focus-scrollwheel-acceleration /? p = 623967

With these scripts, you can scroll without activating windows, or if you use the first, you can even activate windows with the mouse.

+3
source share
3 answers

Use WinActivate

, WinActivate Untitled - Notepad () " - ". .

+3

. Website-Watcher, script, , .

Feedly Chrome RSS, "v" Feedly . Media Play, "v" Feedly:

Media_Play_Pause::
send v
sleep 50
send {Ctrl Down}{Shift Down}{Tab}{Shift Up}{Ctrl Up}
return

, , Firefox, Alt-Tab, :

X::
send y
sleep 50
send {Alt Down}{Tab}{Alt Up}
return

, "X" "y" .

Media Play - , , , # IfWinActive.

0

"WinGet, variableName , List, yourWindowName" ( )

then call the variable variableName contate using 1in eachControlSend

eg:

WinGet, nexid, List, myHyperTerminal

ControlSend, , {shift down}at=cmgs{shift up}=303{ENTER},  ahk_id %nexid1%
sleep, 1000
ControlSend, , {shift down}sms{shift up}{space}10000,  ahk_id %nexid1%
sleep, 1000

if you want to use a control key such as shift, ctrl, alt, don't forget to add "SetKeyDelay, intDelay, intPressDuration"(without quote)

for example, a script will be specified this

#usehook on
SetKeyDelay, 50, 20
WinGet, nexid, List, zz1

$F6::

ControlSend, , {shift down}at=cmgs{shift up}=303{ENTER},  ahk_id %nexid1%
sleep, 1000
ControlSend, , {shift down}sms{shift up}{space}10000,  ahk_id %nexid1%
sleep, 1000

return
$F7::pause

it will be sent to the active / inactive window "zz1" as:

AT+CMGS=303
SMS 10000
0
source

All Articles