webrecorder and MS

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
fthomas
Pro Scripter
Posts: 91
Joined: Fri Oct 03, 2008 6:40 pm

webrecorder and MS

Post by fthomas » Thu Oct 09, 2008 2:33 pm

Please,

I have webrecorder opening and authenticating me to my cpanel account on the net through internet explorer.

I've had it navigate me to the page showing my domains and subdomains. How would I now continue programming from MS and read the elements on the HTML page to record information and continue to navigate via MS to other pages?

Thanks

Frank

fthomas
Pro Scripter
Posts: 91
Joined: Fri Oct 03, 2008 6:40 pm

Post by fthomas » Tue Oct 14, 2008 2:33 pm

??

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Oct 14, 2008 3:10 pm

I may not have understood you fully, so I'm not sure if this will answer your question, but what I do is this:

- Fire up WebRecorder
- Use WebRecorder like a web browser.
- Get to the point where you want to record from
- Insert a comment.
- Continue recording the bit you want to record.
- When done save the script produced
- Open up the script produced
- Copy from the comment onwards and paste that into your Macro Scheduler script.
- You may need to modify the IE handle (IE[0]) if it is different from the one used in your existing script.

You can use the ExtractTag function to extract elements from the page. You can use the Extract Tag Wizard to help you. Once you've done it for one element it's pretty easy to just copy the code and edit manually for another. You can extract the whole page to a variable by specifying the BODY tag.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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