Read Webpage

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
putmann
Junior Coder
Posts: 24
Joined: Mon Aug 20, 2007 1:15 am
Location: Queens,NY

Read Webpage

Post by putmann » Tue May 27, 2008 11:20 pm

How do I get MS read (using Mousemove) a wegpage and the underlying text , but not the links themselves?

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

Post by Marcus Tettmar » Wed May 28, 2008 6:25 am

Why using MouseMove? I would use HTTPRequest to get the source of the page to a variable and then parse it. Then it happens transparently.

Or use WebRecorder. Or you could have the script open the URL in your default browser using ExecuteFile>URL and then send a CTRL+A and CTRL+C to the window to select all and copy to the clipboard. Then use GetClipBoard to get to a variable and then parse.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

putmann
Junior Coder
Posts: 24
Joined: Mon Aug 20, 2007 1:15 am
Location: Queens,NY

Post by putmann » Wed May 28, 2008 2:24 pm

I didn't explain the issue well. I have a daily webpage that contains links and corresponding text next to the links. I need to read the text next to the links because each link means something different. I want to have MS open the links and download each link to a separate file.csv based upon the text next to the links.
[/img][/url]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed May 28, 2008 2:31 pm

Can you post the URL of the target page?

putmann
Junior Coder
Posts: 24
Joined: Mon Aug 20, 2007 1:15 am
Location: Queens,NY

Post by putmann » Wed May 28, 2008 2:37 pm

It's a secure and proprietary webpage.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed May 28, 2008 3:01 pm

Can you post a screenshot?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed May 28, 2008 3:07 pm

Can you post an edited example of the html code for a link? (I assume they are all similar.)

putmann
Junior Coder
Posts: 24
Joined: Mon Aug 20, 2007 1:15 am
Location: Queens,NY

Post by putmann » Wed May 28, 2008 3:17 pm

[img] Total Batch Files: 1095 View 1-12


Batch Monitor

Batch ID Filename Status Start Time No. of Trans. No. Submitted Bundle Ct.
121198336-4054 fr_OLLIE.txt Batch Completed 05/28/2008 10:02AM 98 98 0
Application Type ELIGIBILITY End Time 05/28/2008 10:06AM 121198336-4054 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 10:06AM Batch Source SYS
Error Message Last Response Time 05/28/2008 10:06AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121198309-4919 IPIHDXKLF.txt Processing Batch - All sent 05/28/2008 09:58AM 220 220 0
Application Type ELIGIBILITY End Time 121198309-4919 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 10:06AM Batch Source SYS
Error Message Last Response Time 05/28/2008 10:06AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark




121197456-7372 vlg_PXHDXX.txt Batch Completed 05/28/2008 07:36AM 5 5 0
Application Type ELIGIBILITY End Time 05/28/2008 07:36AM 121197456-7372 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:36AM Batch Source SYS
Error Message Last Response Time 05/28/2008 07:36AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121197456-1756 sli_PXHDXX.txt Batch Completed 05/28/2008 07:36AM 47 47 0
Application Type ELIGIBILITY End Time 05/28/2008 07:37AM 121197456-1756 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:37AM Batch Source SYS
Error Message Last Response Time 05/28/2008 07:37AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121197455-5212 slg_PXHDXX.txt Batch Completed 05/28/2008 07:35AM 6 6 0
Application Type ELIGIBILITY End Time 05/28/2008 07:36AM 121197455-5212 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:36AM Batch Source SYS
Error Message Last Response Time 05/28/2008 07:36AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121197454-9553 klf_PXHDXX.txt Batch Completed 05/28/2008 07:35AM 29 29 0
Application Type ELIGIBILITY End Time 05/28/2008 07:36AM 121197454-9553 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:36AM Batch Source SYS
Error Message Last Response Time 05/28/2008 07:36AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121197454-3155 fr_OLLIE.txt Stopped - Error 05/28/2008 07:35AM 98 98 0
Application Type ELIGIBILITY End Time 121197454-3155 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:39AM Batch Source SYS
Error Message Error while processing batch. / hdxtmp/batch/1194439772_1211974 54-3155_fr_OLLIE.txt (No such f ile or directory) Last Response Time 05/28/2008 07:39AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



121197453-5972 fmq_PXHDXX.txt Batch Completed 05/28/2008 07:35AM 5 5 0
Application Type ELIGIBILITY End Time 05/28/2008 07:35AM 121197453-5972 Provider LIJMC
Marked as Done Reason Not Done Last Request Time 05/28/2008 07:35AM Batch Source SYS
Error Message Last Response Time 05/28/2008 07:35AM
Last Bundle Time
To mark Batch as done, select a reason Not Done Corrected and Resubmitted Summary Information Sufficient No Info For Re-Submission No Further Action Can Be Taken Batch Syntax Error Coverage Has Been Terminated Provider Defined 1 Provider Defined 2 Provider Defined 3 Provider Defined 4 Mark



Preview Print Batch Monitor







[/code]

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