| View previous topic :: View next topic |
| Author |
Message |
snoopy0815
Joined: 29 Jul 2005 Posts: 3
|
Posted: Fri Jul 29, 2005 9:40 am Post subject: Check URLs / Hyperlinks /file existence |
|
|
Hi,
is it possible to check a list of links by autohotkey?
For example a link-list in a file:
links.txt:
http://www.google.de
http://www.gooogle.xx
\\lrnt17\testshare\
\\lrnt15\testshare\test.doc
how can i check all these links automatically for correctness?
any ideas welcome!
best regards, j:)rgen. |
|
| Back to top |
|
 |
BoBo Guest
|
|
| Back to top |
|
 |
snoopy0815
Joined: 29 Jul 2005 Posts: 3
|
Posted: Fri Jul 29, 2005 2:21 pm Post subject: |
|
|
[quote="BoBo"]http://www.google.de
http://www.gooogle.xx [color=red]ping ?[/color]
\\lrnt17\testshare\ [color=red]netview ??[/color]
\\lrnt15\testshare\test.doc [color=red]URLDownloadToFile ???[/color][/quote]
Hi BoBo,
thanx for your suggestions - but I know, how to test the existence manually...
My intention is to check a lot of htm-documents which have lots of link of the abouve mentioned type AUTOMATICALLY by a script and to generate AUTOMATICALLY a list of all links, which direct to a not existing file, share or url...
any help is welcome...
best regards, j:)rgen. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Fri Jul 29, 2005 3:31 pm Post subject: |
|
|
So you know that this isn't really a manual process (unless you wanna torture yourself by doin it a 1000 times manualy): | Code: | Loop, 1000
{
Run, cmd /c ping http://www.gooogle.xx > pingRes%A_Index%.txt | notepad pingRes%A_Index%.txt,,Hide
} | ... but you're not happy with the result, its not automated enough ?  |
|
| Back to top |
|
 |
snoopy0815
Joined: 29 Jul 2005 Posts: 3
|
Posted: Tue Aug 02, 2005 8:36 am Post subject: |
|
|
ok, I see...
also this is not the first way for a solution which I expected - it gives me a good starting point. All I have to do is a "little" parsing of the generated text file
thanx for the hint - I think it will solve my problem )
best regards, j:)rgen. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
|
| Back to top |
|
 |
|