sathiya Sugumaran Posted December 30, 2013 Report Share Posted December 30, 2013 Hi , I am using Macro Express 4.4.1.1 how to do screen Scraping by using Macro ? Source is from Web Page Quote Link to comment Share on other sites More sharing options...
Look_Up Posted December 30, 2013 Report Share Posted December 30, 2013 If the text is selectable use hold left mouse down, select the text with mouse move, release the left mouse key and save the content into clipboard. Sample: Mouse Move: 309, 356 Relative to ScreenDelay: 500 millisecondsMouse Left Button Down Delay: 500 milliseconds Mouse Move: 340, 356 Relative to Screen Delay: 500 millisecondsMouse Left Button UpDelay: 500 millisecondsClipboard CopyDelay: 500 millisecondsVariable Set String %content_clipboard% from the clipboard contents Source: <MOUSE MOVE Option="\x01" X="309" Y="356" _PROMPT="0x000A"/> <DELAY Flags="\x02" Time="500"/> <MOUSE LEFT BUTTON DOWN/> <DELAY Flags="\x02" Time="500"/> <MOUSE MOVE Option="\x01" X="340" Y="356" _PROMPT="0x000A"/> <DELAY Flags="\x02" Time="500"/> <MOUSE LEFT BUTTON UP/> <DELAY Flags="\x02" Time="500"/> <CLIPBOARD COPY/> <DELAY Flags="\x02" Time="500"/> <VARIABLE SET STRING Option="\x02" Destination="%content_clipboard%" NoEmbeddedVars="FALSE"/> Another read out technique is to work with (external) scripts, eg javascript. Look_Up Quote Link to comment Share on other sites More sharing options...
terrypin Posted January 1, 2014 Report Share Posted January 1, 2014 Or: Mouse move, to right hand end of text box Text Type Shift Home, to select all the text Clipboard Copy Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Cory Posted January 24, 2014 Report Share Posted January 24, 2014 I used to do a lot of scraping with MEP but it's very difficult with large batches and I moved on to writing proper applications to do this instead. But before then I often found that downloading the raw HTML file and processing it as a text file was much faster and less prone to error. I simply had a VBScript I would use to download the file then process with MEP. If you're serious about a scraping solution feel free to contact me via PM as I am available for hire. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.