IEGetURL Problem

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
ChampTech
Newbie
Posts: 2
Joined: Fri Nov 28, 2014 6:51 pm

IEGetURL Problem

Post by ChampTech » Fri Nov 28, 2014 7:09 pm

Hi, I have a problem using IEGetURL...
When I use IEGetURL, I don't get the correct URL. it only returns the url I navigated to.
How can I solve this problem?

Here is the code I used to test this

Code: Select all

IECreate>IE[0]
IENavigate>%IE[0]%,http://bing.com,ie_res
IEWaitDocumentComplete>%IE[0]%,ie_res
IEClickTag>%IE[0]%,{""},{""},{"A"},{"TEXT"},{"Maps"},ie_res
IEWaitDocumentComplete>%IE[0]%,ie_res
WAIT>3
IEGetURL>%IE[0]%,URL
WAIT>1
MessageModal>URL
I should get a string like this: "http://www.bing.com/maps/?FORM=Z9LH2" but instead I get "http://bing.com/"

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

Re: IEGetURL Problem

Post by Marcus Tettmar » Mon Dec 01, 2014 12:55 pm

Works for me. When I run your code I see the following in the message box:

"http://www.bing.com/maps/?FORM=Z9LH3"
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

User avatar
CyberCitizen
Automation Wizard
Posts: 724
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Re: IEGetURL Problem

Post by CyberCitizen » Wed Dec 03, 2014 2:25 am

I confirm, I also get http://www.bing.com/maps/?FORM=Z9LH3.

I'm Running MS v14.0.18
FIREFIGHTER

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