Search found 58 matches
- Sun Jun 17, 2007 6:28 pm
- Forum: Beginners
- Topic: How to Count a list of URLs stored in a Variable
- Replies: 8
- Views: 8427
The question below is answered in this post http://www.mjtnet.com/usergroup/viewtopic.php?t=3922 So now I'd like to perform a few IF statements based on the number of URLs. Example IF the URL Counts =1 then do something If the URL Counts = 2 then do something If the URL Counts = 3 then do something ...
- Sun Jun 17, 2007 5:30 pm
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
- Sat Jun 16, 2007 7:06 pm
- Forum: Beginners
- Topic: How to Count a list of URLs stored in a Variable
- Replies: 8
- Views: 8427
Sorry Guys, I just can't get any of these to work. So I'm pasting the source of my test file. Copy and past the following dummy URLs into a .txt file and name it urls.txt and save it to c:\ http://www.superband.com/testband1/index.php http://www.superband.com/testband2/index.php http://www.superband...
- Sat Jun 16, 2007 9:08 am
- Forum: Beginners
- Topic: How to Count a list of URLs stored in a Variable
- Replies: 8
- Views: 8427
Hello Me_Again, so I tried to use this code right out the box. Substituted c:\temp for the correct path of my file. Tried both the GetFileList and ReadFile functions and both will capture contents into variable. The SEPARATE command delimits just fine. But, the MessageModal line returns a value of 1...
- Sat Jun 16, 2007 6:35 am
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
FIXED!!! HERE'S WHAT IT LOOKS LIKE.. THE PROBLEM APPEARED TO BE THE UNTIL LINE: UNTIL>k=URLS_COUNT USING A PORTION OF ME_AGAIN'S CODE ABOVE I REPLACED THE [=] FROM THE PREVIOUS SUGGESTIONS IN THIS THREAD WITH A [,] AND NOW THE UNTIL LINE LOOKS LIKE THIS UNTIL>k,URLS_COUNT AND IT WORKS NOW AND CAPTUR...
- Sat Jun 16, 2007 12:18 am
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
Yes Me_again... did the MDI>URLList and all the URL's are actually there. So it is definitely something post SEPARATE... which is what this thread is focused on at this point. Have you done: MDl>URLList (if that's still the pre-separate variable name) and verified that all the URL's are actually in ...
- Thu Jun 14, 2007 9:40 pm
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
- Thu Jun 14, 2007 7:29 pm
- Forum: Beginners
- Topic: How to Count a list of URLs stored in a Variable
- Replies: 8
- Views: 8427
Ahhhh... thanks! Will check help first next time! :wink: The Help is your friend :wink: this is the example code. Separate reads the file names into an array called file_names and file_names _count will automagically contain the number of items. GetFileList>c:\temp\*.*,files Separate>files,;,file_na...
- Thu Jun 14, 2007 7:27 pm
- Forum: Beginners
- Topic: Using HTTPRequest to post to Webform and filtering results??
- Replies: 3
- Views: 4404
Re: Using HTTPRequest to post to Webform and filtering resul
Thanks jpuziano... will give this a try Hi clickfast , But the results variable contains the entire html for the webpage and I only want the result from the web form - not the rest of the HTML.. (e.g. I only want the "answer" that the webform gives based on the users response). Any ideas? I believe ...
- Thu Jun 14, 2007 7:24 pm
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
- Thu Jun 14, 2007 4:54 am
- Forum: Beginners
- Topic: How to Count a list of URLs stored in a Variable
- Replies: 8
- Views: 8427
How to Count a list of URLs stored in a Variable
Hi did due diligence combing thru forums and found no referrences to solving this. I have a variable that contains anywhere from 1 up to 5 URLs separated by ';' (using the SEPARATE command).. What I want to do is count the number of urls and execute IF/Else statements based on the number of URLs fou...
- Thu Jun 14, 2007 4:46 am
- Forum: Beginners
- Topic: Using HTTPRequest to post to Webform and filtering results??
- Replies: 3
- Views: 4404
Using HTTPRequest to post to Webform and filtering results??
I've searched the forum and didn't find what i need. I am using an INPUT fuction to get input from a user and post the INPUT to a webform using HTTPRequest and get the response back and put it into a variable. But the results variable contains the entire html for the webpage and I only want the resu...
- Thu Jun 14, 2007 4:19 am
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
clickfast, Could you post your non-functional code so we can take a look at it. Preceding this code reads an xml file and use the separate function to put a list of urls into a variable. Then the following script reads the variables and writes them to a text file. However, the script reliably skips...
- Sun Jun 10, 2007 3:38 pm
- Forum: Beginners
- Topic: Using RegEx to search text file and create variable array
- Replies: 33
- Views: 31492
After some testing, i'm finding that for some reason the code reliably skips the first URL in each file. Eg. if there are 4 urls, it will skip the first URL and read the last three. If there are 5 urls, it will read the last four. If there is only one URL it will not bring back any urls. Any ideas? ...
- Sun Jun 03, 2007 8:04 am
- Forum: Beginners
- Topic: How to use a Combox box to list all folders in a Directory??
- Replies: 1
- Views: 3906
How to use a Combox box to list all folders in a Directory??
Hi, I want to pass a variable to a combobox in a dialogue such that when the user clicks it reveals a drop-down menu listing all the folders in the directory. I used GetFileList to read a directory of folders and store them into a variable. How do I get the combobox on my dialogue box to display the...