| View previous topic :: View next topic |
| Author |
Message |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Mon Dec 21, 2009 4:54 pm Post subject: WinGet, OV, Count time interval? |
|
|
21December2009
I am curious to ask/hear what time interval
should separate two WinGet, OV, Count commands
in a persistent script to catch any/all changes in the (NonHidden) WinCount?
I know what effect the set time interval has on CPU usage
on my three XP laptops, but I have virtually no idea
what the physics of the time element is.
Of course the HW specs / RAM speed etc affect the time interval ...
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ |
|
| Back to top |
|
 |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Sun Jan 03, 2010 8:35 pm Post subject: |
|
|
3January2010
Greetings.
I wish the AHK Forum was as awesome as AHK is ...
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ
7January2010
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ |
|
| Back to top |
|
 |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Sun Jan 10, 2010 12:51 pm Post subject: |
|
|
10January2010
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ |
|
| Back to top |
|
 |
Peter
Joined: 30 Dec 2005 Posts: 448
|
Posted: Sun Jan 10, 2010 4:25 pm Post subject: |
|
|
I have no idea what you are talking about?
PS: you don't have to mention the date in your post. This awesome forum webpage does it automatically . |
|
| Back to top |
|
 |
a_h_k
Joined: 02 Feb 2008 Posts: 626
|
Posted: Sun Jan 10, 2010 11:20 pm Post subject: |
|
|
Would this suffice?
| Code: | Loop
{
WinGet, OV, Count
Sleep, 100
} |
|
|
| Back to top |
|
 |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Tue Jan 12, 2010 4:25 pm Post subject: |
|
|
12January2010
Greetings.
Thanks for the replies.
The question/s is/are»
What should the sleep delay be?
How should one calculate the sleep delay on different PCs?
In how many milliseconds can new windows appear?
I have virtually no idea what the physics of the time element is.
Of course the HW specs / RAM speed etc affect the time interval ...
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ |
|
| Back to top |
|
 |
Peter
Joined: 30 Dec 2005 Posts: 448
|
Posted: Tue Jan 12, 2010 4:33 pm Post subject: |
|
|
| AEN007 wrote: | | In how many milliseconds can new windows appear? | AFAIK, they can appear any moment, what should they wait for?
| AEN007 wrote: | | How should one calculate the sleep delay on different PCs? | Why should the delay be different on different PC's?
Maybe you think the delay must be changed, because they appear slower on a slow PC.
But then they can still appear any moment, albeit slower after the intial trigger from an application. |
|
| Back to top |
|
 |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Sat Jan 16, 2010 10:17 am Post subject: |
|
|
16January2010
Greetings.
Thanks for the reply.
It seems to me that the number of milliseconds
from point in time "T̥" in which a new window can appear
depends on the specs of the PC in question.
It seems to me that the number of milliseconds
from point in time "T̥" in which a new window can appear
is not the same on all three of my XP laptops.
Laptop T from 1998 has a PII 233MHz with 160mb RAM.
Laptop G has an Intel Celeron M370 1500MHz & 1gb DDR2 266MHz RAM.
Laptop I has a PIV 1800MHz & 1gb DDR 133MHz RAM.
It seems to me that G is slightly faster than I.
I would guess because of the RAM speed.
It seems to me that the number of milliseconds
from point in time "T̥" in which a new window can appear
is not the same on any of these laptops -
definitely more milliseconds on laptop T.
Anyway, that's still how it seems to me.
It is not a question of why they should wait.
It seems to me rather a question of how quickly
the HW/SW can actually create the window in the OS.
Any helpful/replies insights appreciated.
Thank you.
Regards,
AEN
Æ |
|
| Back to top |
|
 |
AEN007
Joined: 04 Apr 2009 Posts: 129
|
Posted: Sat Mar 06, 2010 12:49 pm Post subject: |
|
|
6March2010
Greetings.
I have a script that I want to catch the "Copying/Moving/Deleting" popups.
I had WinDelay set to 10 but that wasn't working sometimes.
I changed WinDelay to 0 and that has been working almost 100% ... |
|
| Back to top |
|
 |
|