blakela Posted June 29, 2008 Share Posted June 29, 2008 I am using the function _IECreate to call a URL. Once IE is given the URL string it automatically is redirected to the site's local application. Then later in my script I kill the open IE session/window. Is there a way to send the same URL that will spawn the site's local application without the overhead of opening IE each time? Ultimately I could have 30 of these calls and opening & closing IE sessions each time is extra overhead. Link to comment Share on other sites More sharing options...
danielkza Posted June 29, 2008 Share Posted June 29, 2008 I am using the function _IECreate to call a URL. Once IE is given the URL string it automatically is redirected to the site's local application. Then later in my script I kill the open IE session/window.Is there a way to send the same URL that will spawn the site's local application without the overhead of opening IE each time? Ultimately I could have 30 of these calls and opening & closing IE sessions each time is extra overhead.You can load the url using InetGet, and parse the html code and find the redirection url,the InetGet the real one. Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 29, 2008 Share Posted June 29, 2008 I am using the function _IECreate to call a URL. Once IE is given the URL string it automatically is redirected to the site's local application. Then later in my script I kill the open IE session/window.Is there a way to send the same URL that will spawn the site's local application without the overhead of opening IE each time? Ultimately I could have 30 of these calls and opening & closing IE sessions each time is extra overhead.The site may not allow "deep linking" directly to the app without going through the first page.At any rate, why Open/Close IE? Just hide or minimize it when not in use, and _IENavigate() to the page when required. You don't have to close/open each time. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
blakela Posted June 30, 2008 Author Share Posted June 30, 2008 You can load the url using InetGet, and parse the html code and find the redirection url,the InetGet the real one.I will dig out the help file information on "InetGet" and see what I can learn. Your comment of "parse the html code" intriques me because I think that's what I ultimately need to do.Prior to calling the URL that launches an application I have to call a URL that gives me several lines of text back one being the cookie code. The line for it is something like <cookie>stringIneedhere<cookie>.I need that "cookie string" to build the final URL that I am calling.Can you point me to any examples of the InetGet and parsing the results? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now