Help please

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Pepe
Newbie
Posts: 3
Joined: Fri Mar 28, 2003 3:00 pm

Help please

Post by Pepe » Fri Mar 28, 2003 3:06 pm

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

Lumumba

Post by Lumumba » Mon Mar 31, 2003 3:55 pm

//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

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts