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 

Make download pause at 99.9%
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Miki
Guest





PostPosted: Sun Nov 04, 2007 5:46 pm    Post subject: Make download pause at 99.9% Reply with quote

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





PostPosted: Sun Nov 04, 2007 10:09 pm    Post subject: Reply with quote

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

PostPosted: Sun Nov 04, 2007 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Guest






PostPosted: Sun Nov 04, 2007 10:21 pm    Post subject: Reply with quote

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





PostPosted: Sun Nov 04, 2007 10:22 pm    Post subject: Reply with quote

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





PostPosted: Sun Nov 04, 2007 10:23 pm    Post subject: Reply with quote

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





PostPosted: Sun Nov 04, 2007 10:30 pm    Post subject: Reply with quote

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

PostPosted: Sun Nov 04, 2007 11:28 pm    Post subject: Reply with quote

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. Confused
Back to top
View user's profile Send private message
Miki
Guest





PostPosted: Mon Nov 05, 2007 9:29 am    Post subject: Reply with quote

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

PostPosted: Mon Nov 05, 2007 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Paulo-nli
Guest





PostPosted: Mon Nov 05, 2007 11:48 am    Post subject: Reply with quote

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

PostPosted: Mon Nov 05, 2007 12:09 pm    Post subject: Reply with quote

Image search loop ??
Back to top
View user's profile Send private message
Miki
Guest





PostPosted: Mon Nov 05, 2007 12:34 pm    Post subject: Reply with quote

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

PostPosted: Mon Nov 05, 2007 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Mon Nov 05, 2007 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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