Links to tutorials....please. I have blown up the search feature on this forum trying to learn RegExMatch. Many of the post are in my non native language and therefore were not to helpful for someone that doesn't understand this function even after reading the help manual and every linked word associated within the manual.
What I am trying to accomplish is taking the below quote from a URLDownloadToFile of a php file and parse out the o/s htm file names (which changes on updates) and create a variable which I can plug into a URLDownloadToFile as in example:
http://www.testsite.com/project/testarea/wc003900.htm in order to obtain that file.
Quote:
<li><a href="project/testarea/wc0003900.htm">Remote Client v3.900 for Windows</a> Filename: wc003900.htm<br>
<li><a href="project/testarea/lc003900.htm">Remote Client v3.900 for Linux</a> Filename: lc003900.htm<br>
Prior too this I was using a totally unpreferred method of listing out the increments one by one and deleting them based on file size using ifgreater which left my script very redundant.
Code:
URLDownloadToFile, http://www.testsite.com/project/testarea/wc003898.htm, C:\Program Files\AutoHotkey\temp\wc003898.htm
URLDownloadToFile, http://www.testsite.com/project/testarea/wc003899.htm, C:\Program Files\AutoHotkey\temp\wc003899.htm
URLDownloadToFile, http://www.testsite.com/project/testarea/wc003900.htm, C:\Program Files\AutoHotkey\temp\wc003900.htm
Loop C:\Program Files\AutoHotkey\temp\*.htm,0,1
{
IfGreater,A_LoopFileSize,600000, Continue
FileDelete, %A_LoopFileLongPath%
}
I know it's a dumb method but when you don't understand the help file you have to do what you have to do. Now, I'm looking to try to understand the proper way to accomplish the task via an extented tutorial or someone who will actually take the time to explain each section of the code that they post. I have a few more things I would like to try to do, but until I get the basic concept I'm dead in the water.