| View previous topic :: View next topic |
| Author |
Message |
jak
Joined: 28 Feb 2006 Posts: 159
|
Posted: Thu Jul 03, 2008 5:21 am Post subject: keep netflix streaming window on top |
|
|
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 |
|
 |
GodlyMario
Joined: 02 Jul 2008 Posts: 62
|
Posted: Thu Jul 03, 2008 5:28 am Post subject: |
|
|
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 |
|
 |
jak
Joined: 28 Feb 2006 Posts: 159
|
Posted: Thu Jul 03, 2008 4:53 pm Post subject: |
|
|
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 |
|
 |
Lafncow
Joined: 13 May 2009 Posts: 30
|
Posted: Mon Jun 29, 2009 3:19 am Post subject: |
|
|
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 |
|
 |
jak
Joined: 28 Feb 2006 Posts: 159
|
Posted: Mon Jun 29, 2009 5:14 am Post subject: |
|
|
| 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.  |
|
| Back to top |
|
 |
|