AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

keep netflix streaming window on top

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
jak



Joined: 28 Feb 2006
Posts: 159

PostPosted: Thu Jul 03, 2008 5:21 am    Post subject: keep netflix streaming window on top Reply with quote

how can you keep a window on top?
I tried the following, which did not work, no doubt cuz i'm a noob:

Ifwinexist, Netflix Movie Viewer
winset, alwaysontop, on

It did diddly squat, so to speak. Clearly i'm missing something...
Back to top
View user's profile Send private message
GodlyMario



Joined: 02 Jul 2008
Posts: 62

PostPosted: Thu Jul 03, 2008 5:28 am    Post subject: Reply with quote

SetTitleMatchMode, 3
F1::
IfWinExist, EXACT TITLE OF WINDOW
{
WinActivate
WinSet, AlwaysOnTop, Toggle
}
else
return

press f1 to set alwaysontop ON and once more to OFF
change "Toggle" to "On" if you want it on forver
-----
the problem in your script is that Window management command will do changes to the active window, but if you use WinSet, alwaysontop, on, WINDOWNAME then it will work.
Back to top
View user's profile Send private message
jak



Joined: 28 Feb 2006
Posts: 159

PostPosted: Thu Jul 03, 2008 4:53 pm    Post subject: Reply with quote

thanks! one question -- is there an elegant way to have it do this without a hotkey? In other words, whenever the netflix window is there, it automatically makes it 'on top'?
Would that require some kind of timer to periodically check for the existence of that window? Or is there a better solution than that?

(i'm not necessarily looking for a script here, just curious how that would work. does it need a timer? etc)
Back to top
View user's profile Send private message
Lafncow



Joined: 13 May 2009
Posts: 30

PostPosted: Mon Jun 29, 2009 3:19 am    Post subject: Reply with quote

you might want to have a look at my script here, I was working on something similar and this will get you both a way to identify the netflix windows and a timer solution to checking for them (as IrishThug pointed out, good to set a state so you dont have to keep checking as often). Hope this helps!
Cheers
Back to top
View user's profile Send private message
jak



Joined: 28 Feb 2006
Posts: 159

PostPosted: Mon Jun 29, 2009 5:14 am    Post subject: Reply with quote

Lafncow wrote:
you might want to have a look at my script here, I was working on something similar and this will get you both a way to identify the netflix windows and a timer solution to checking for them (as IrishThug pointed out, good to set a state so you dont have to keep checking as often). Hope this helps!
Cheers


thanks for letting us know! your script rocks. I'm using it as is. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group