I would like to ask any additional info on how to go about this code in vbscript.
We have a website where get the last number of the person who registered into the system.
We check if this record is not the same as to the last number we got.
What we want to do is make a script that will loop in the last number, then check if data is the same as the previous record. If same record then loop or remain again in the same number while checking for record changes but if not then increment the loop by 1 and loop again.
Thank you, every idea would be valuable to us.
Check for website changes...
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
-
- Posts: 6
- Joined: Fri Jan 05, 2007 10:25 am
Hello,
the elements of the script (that is started in regular intervals) would look like the following:
1) Script calls macro that extracts the number (http://www.iopus.com/imacros/help/extra ... _items.htm), then
2) compares actual extract to the one stored in the file.
3a) If Stored and new are different: Write to Logfile, and
3b) Store new value to file
Best,
Hannes
the elements of the script (that is started in regular intervals) would look like the following:
1) Script calls macro that extracts the number (http://www.iopus.com/imacros/help/extra ... _items.htm), then
2) compares actual extract to the one stored in the file.
3a) If Stored and new are different: Write to Logfile, and
3b) Store new value to file
Best,
Hannes
-
- Posts: 6
- Joined: Fri Jan 05, 2007 10:25 am
Thank you for the info.
This maybe out of topic for Imacros because we can already solve how are we going to extract the data.What we want to do is make a script that will loop in the last number, then check if data is the same as the previous record. If same record then loop or remain again in the same number while checking for record changes but if not then increment the loop by 1 and loop again.
The quoted above is our main problem. How do I make the script wait for a few seconds then re-iterate the loop in the last number, checking if number is same or not.
Thank you.
Hello,
examples on how to read/write a file can be found in the iMacros "Examples" directory.
Concerning the "sleep" question, the following link may help: http://www.experts-exchange.com/Web/Web ... 99829.html
Best,
Hannes
examples on how to read/write a file can be found in the iMacros "Examples" directory.
Concerning the "sleep" question, the following link may help: http://www.experts-exchange.com/Web/Web ... 99829.html
Best,
Hannes