Email reader

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
PingPong
Newbie
Posts: 1
Joined: Mon Feb 28, 2005 7:31 am

Email reader

Post by PingPong » Mon Feb 28, 2005 7:35 am

How I can read email so that it find out all links and press them?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Feb 28, 2005 9:09 am

Lots of ways to do that. Can use Regular Expressions in VBscript or Microsoft's XML parsers. What format is the data in? File - use ReadLn, ReadFile, or VBScript FileSystemObject to read the file in to variables first. Or are you grabbing from some application via clipboard? If so GetClipBoard gets the data into a variable. Or maybe it is already in HTML format in which case use IE's DOM to extract the tags. Can loop through and just use string manipulation functions, or use MS methods already available for extracting tags.

As is often the case, more information and a description of what you want to achieve may allow us to provide a more specific answer.
MJT Net Support
[email protected]

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