Keep focus on top of news list always

10 posts / 0 new
Last post

Is there a way to keep the news list scrolled to the top always, or could this be added as a feature possibly. I sort my feeds by Published Descending but I'd like the newest always at the top without it scrolling down then stopping.

 

Thanks, 

OmkAR

Hi,

Hi,

unfortunately this is currently not possible. But I don't think it is a good idea.

Imagine you reading a news of a feed that is getting updated in that moment.
According to your proposal the focus should switch to the newest news.
That would be annoying, wouldn't it?

Kind regards,

Sheldon

Hrmm, good point, just an

Hrmm, good point, just an idea though, how about if it ONLY switches focus to newest news when the entire QuiteRSS window is inactive, but when the window is active and your reading other news, it disables that feature. I leave QuiteRSS running on my second monitor, and it would be great if it stayed at the top while the window is inactive. When I switch to it to check news then it could disable that feature so that wouldn't happen. I dunno, I imagine it could be just too complicated, I'm working on an AHK script that does it for me at the moment. Thanks for responding though.

Here's a screenshot to give you an idea of why this would be a cool feature:  

http://imgur.com/o6VP9Bg

OmkAR

You use QuiteRSS for Twitter?

You use QuiteRSS for Twitter? Seriously? Do you know TweetDesk?
Were you able to handle it with AHK?

lol, Tweetdeck uses way too

lol, Tweetdeck uses way too much bandwidth, I switched it over to QuiteRSS to save tons of bandwidth. I'm still working on the AHK script, having issues with Winactivate working on the second monitor. I'll post it here if I get it working.

 

 

Ok! Let me know if you need

Ok! Let me know if you need some help on the AHK script. It shouldn't be a big deal.
Hint: You can use the updatingFeeds flag in QuiteRSS.ini to monitor the updates using the IniRead function.

Here we go, very simple AHK

Here's what I got so far using ControlSend:

#SingleInstance ignore

start:

if A_TimeIdlePhysical > 60000 ;after 60 seconds of no activity
    {
    IfWinNotExist ahk_class Qt5QWindowIcon
    return

ControlSend, ahk_parent, {up} ^{home} ; up and control+home
    }
sleep 1000
goto, start

Just need to add a check for when the QuiteRSS window is active or not, maybe some other things I'm not thinking of yet.

 

Did you test this properly?

I would recommend moving up only if there has been a feed update.
Are you sure the script works because my test failed?

Check this out! Just a first

Check this out! Just a first approach but it works. We can add the update check and others in the loop later.

loop
{
moveToTop(10)
Sleep 10000
}

moveToTop(strokeCount) {
SetTitleMatchMode 2
If WinExist("- QuiteRSS")
{
WinActivate
Send, {PgUp %strokeCount%}
}
}

Send, {up} ^{home} works as well.

Having a few problems with

Having a few problems with your version on my dual monitor setup. WinActivate kicks me out of Chrome on my main monitor everytime it activates QuiteRSS on the other monitor. But the strokeCount is a good idea, I'll fiddle around and try a few things. 

 

> Are you sure the script works because my test failed?

yep, my script is working here, It's a bit crude, but when I leave the system idle for 60 seconds, which happens often enough, it moves QuiteRSS to the top for me like I wanted. It could just use a bit of spicing up, like detecting if the window is active, and then stopping the loop temporarily. Remember I usually leave QuiteRSS inactive, but open on my second monitor.  I'm using AU3_Spy.exe to get the window name of QuiteRSS, the name for me is "ahk_class Qt5QWindowIcon" so I used that and it works.

Actually I did change a few things, here's the newest revision:

#SingleInstance ignore

start:

if A_TimeIdlePhysical > 20000 ;after 20 seconds of no activity
    {
    IfWinNotExist ahk_class Qt5QWindowIcon
    goto, start

ControlSend, ahk_parent, {down} ^{home} ; down and control+home
    }
sleep 1000
goto, start
 

Changed the 'return' to 'goto start:' so the script won't die if QuiteRSS is not running. Also changed it to 20 seconds and changed 'up' to 'down' for debugging purposes. (lets you see it working visually)

Also note that ControlSend sends the simulated keystroke {down} ^{home} directly into QuiteRSS, without its window needing to be maximized or active. It even works if it's minimized and/or on another monitor.