aarons
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by aarons
-
-
For my application, I really need the HTML. And need to do without without opening a browser window.
-
I need to load a web-page into a text variable.
Pretty sure this is not a native function of Macro Express Pro, so I would rely on an external script.
I've tried this simple bit of code, but getting an error:
set xmlhttp = CreateObject("Msxml2.XMLHttp.6.0") xmlhttp.open "get", "http://en.wikipedia.org/wiki/Google_Chrome", false xmlhttp.send strOutput = xmlhttp.responseText msgbox strOutput
There error (found in console output) is "C:\Users\myusername\AppData\Local\temp\msesc13.vbs(3, 1) msxml6.dll: Access is denied
What did I do wrong?
Script to perform Regex operations?
in Macro Express and Macro Express Pro
Posted
I know this thread is 8 years old, but it still shows up on searches, so I will mention that Macro Express Pro can utilize RegEx through external scripts (VBscript and Javascript both have RegEx support).
Passing text into the external scripts can be a little cumbersome, and usually requires creating a temporary file which is then opened from the script.
Passing it back to Macroexpress is easier thanks to console output.