| View previous topic :: View next topic |
| Author |
Message |
Miki Guest
|
Posted: Sun Nov 04, 2007 5:46 pm Post subject: Make download pause at 99.9% |
|
|
Hello,
I made some macros before, but on this one i have absolutely no idea.
The plan is:
1. Start Download with some download manager (RapGet for example)
2. When it comes to 99.9%, automaticly pause and move to another file.
Maybe some File size commands? But what if the files are different size?
I really dont know.
Every help is good help.
Thank you in advance. |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Sun Nov 04, 2007 10:09 pm Post subject: |
|
|
Nobody?
Maybe someone can tell me how can i read specific value from some program?
In this case Remaining time. |
|
| Back to top |
|
 |
charmander91
Joined: 27 Oct 2007 Posts: 37 Location: olney, maryland
|
Posted: Sun Nov 04, 2007 10:14 pm Post subject: |
|
|
hmmm i have no idea really, idk if u can do that with ahk, but im new to this, but what would the point of this be? _________________ ehh... ill draw a pic of a charmander later |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Nov 04, 2007 10:21 pm Post subject: |
|
|
can the window spy detect those values?
if it can, it should be quite simple to check if var=>99.9, then send certain keys to pause it |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Sun Nov 04, 2007 10:22 pm Post subject: |
|
|
I'm using sattelite for downloading, others using it too.
If i pause on 99.9% their files will be incomplete, and i would download the rest 00.1% with my dial up. |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Sun Nov 04, 2007 10:23 pm Post subject: |
|
|
| Anonymous wrote: | can the window spy detect those values?
if it can, it should be quite simple to check if var=>99.9, then send certain keys to pause it |
Window spy? Is that a program or ahk command? |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Sun Nov 04, 2007 10:30 pm Post subject: |
|
|
| Ok, i tried window spy, he is detecting it like Class name: obj_SysListView32 |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2739 Location: Australia, Qld
|
Posted: Sun Nov 04, 2007 11:28 pm Post subject: |
|
|
| Miki wrote: | I'm using sattelite for downloading, others using it too.
If i pause on 99.9% their files will be incomplete, and i would download the rest 00.1% with my dial up. | Is there a point? You'll still use bandwidth downloading the other 99.9% of the file. Every byte counts, not just when you finish the file.  |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Mon Nov 05, 2007 9:29 am Post subject: |
|
|
Nope,
i think u r not right.
I download the rest of the file while i'm not connected to broadband |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 971 Location: London, UK
|
Posted: Mon Nov 05, 2007 9:52 am Post subject: |
|
|
I can assure you, an ISP will monitor all throughput through your connection, if you download 99% of a 100 meg file they will count the 99 meg you download. _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
Paulo-nli Guest
|
Posted: Mon Nov 05, 2007 11:48 am Post subject: |
|
|
Ahh , now I understood it.
Superfraggle is right, this script is not going to help you. |
|
| Back to top |
|
 |
Mkbailey755
Joined: 20 Aug 2007 Posts: 178
|
Posted: Mon Nov 05, 2007 12:09 pm Post subject: |
|
|
| Image search loop ?? |
|
| Back to top |
|
 |
Miki Guest
|
Posted: Mon Nov 05, 2007 12:34 pm Post subject: |
|
|
I'm not sure i'm following you.
You said that this is not posibble to make with ahk, or not posibble at all?
I was thinking, maybe a combination with "Game trainer" and ahk.
If i'm able to make Trainer for rapget, to block memory, the pause button will be easy to make with ahk.
What do you think of that? |
|
| Back to top |
|
 |
kidmar
Joined: 04 Oct 2007 Posts: 30
|
Posted: Mon Nov 05, 2007 12:57 pm Post subject: |
|
|
The point is that your isp probably counts how many MBytes you download, not how many files.
So why doing this?
Anyway, noone said it is not possible. You have to check with Window Spy (or maybe better with Winspector Spy) if the percentage of completed download appears somewhere in your download program class/window.
you can find Winspector Spy with google.
If that percentage is part of the window's properties then you can check that value and wait until it's above 99%, then send the pause command. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Mon Nov 05, 2007 4:38 pm Post subject: |
|
|
generally, you do not need winspector spy - AHK comes with a window spy app, though not as powerful as winspector spy. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|