Hello.
I got macro scheduler 6.2.3vb and want to make a macro that opens a browser window, go to a page, get some text and compare it and if it is what I want I get a message about that else it closes.
So far I've manage to do a macro that opens the webpage that I want, I use the mouse to mark the text, copies it with ctrl+c but I don't know how to compare it with another string.
Any ideas out there?
Thank you
Peter
Help please
Moderators: Dorian (MJT support), JRL
//Set the text you wanna compare with
Let>Pattern=exchange rate
//Take the content from the clipboard
GetClipboard>TextToCompare
//Compare it with the predefined pattern
If>TextToCompare=%Pattern%, Done
MessageModal>They wanna make my day!
Label>Done
CloseWindow>YourWebpage - Microsoft Internet Explorer
Let>Pattern=exchange rate
//Take the content from the clipboard
GetClipboard>TextToCompare
//Compare it with the predefined pattern
If>TextToCompare=%Pattern%, Done
MessageModal>They wanna make my day!
Label>Done
CloseWindow>YourWebpage - Microsoft Internet Explorer