Sign in to follow this  
Followers 0
monte

http navigation

9 posts in this topic

Hello. I have two questions. 1) I do not know how to navigate to a web page using internet explorer and 2) do you have to have autoit installed in order to run a script complied with autoit (ie .exe)? Thanks in advance for any help you may be able to provide.

Here's my sample code:

run("C:\progra~1\intern~1\iexplore.exe http://somewebpage.com/some/folder%someOther/folder/")

If I remove the http refernece I can get iexplore.exe to run, however I want to navigate to a particular webpage. Thanks again.

Share this post


Link to post
Share on other sites



Thank you very much for you're help. That works, but now when trying to access this web site I get: error in expression.

Run(@ComSpec & " /c Start http://somewebpage.com/some/folder%20datab.../folder/"& $myString &, "", @SW_HIDE)

Thanks very much for your quick reply Valuater, you have really helped me!

Share this post


Link to post
Share on other sites

this part is incorrect

& $myString &

1

the last "&" for sure

2

what is $myString ???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

I apologise, $myString is a string variable.

Share this post


Link to post
Share on other sites

You can ignore the second part of my question, the compile faq I found states that the exe created is standalone. No need for autoit to be installed. Thanks.

Share this post


Link to post
Share on other sites

ok, I've found a work-a-round. I'm using replace() and simply replacing my variable with another. However, that brings me to a new problem:

run($myVariable &)

fails with: error in regular expression

$myVariable contains the variable of the run(). ie @ComSpec &....the rest of the url.

Things that make you go hmmmmm.......

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

I'm not really sure If I really understood the problem but what I know ist that the character "&" (Without quotes!) is used to merge any strings or variables.

So If you have two strings ($string1 = "Text1", $string2 = "Text2") and you are writing following line of code:

$Result = $string1 & $string2

...than the result-variable is "Text1Text2".

But if you are writing a line of code like this:

$Result = string1 &

...than there is missing the second expression. Perhaps that is your problem.

Try this instead:

1)

Run(@ComSpec & " /c Start http://somewebpage.com/some/folder%20datab.../folder/" & $myString, "", @SW_HIDE)

2)

run($myVariable)

UTA

Edited by UTA

Share this post


Link to post
Share on other sites

So did you decided to use IE.AU3?


[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0