Sign in to follow this  
Followers 0
Mr.Sniper

I don't get how to set variables

3 posts in this topic

#1 ·  Posted (edited)

I got this code from the IE.au3 text:

Func _IENavigate($o_object, $s_url, $f_wait = 1)
    If IsObj($o_object) Then
        $o_object.navigate ($s_url)
        If ($f_wait = 1) Then _IELoadWait($o_object)
        SetError(0)
        Return -1
    Else
        SetError(1)
        Return 0
    EndIf
EndFunc  ;==>_IENavigate

and i don't know understand how it works... i tryed reading the help file that came with the autoit but it doens't explain variables well enough for me to understand... So can someone please explain to me how to assign variables

like lets say i wanted to go to www.google.com... where would i enter that in to make the code work?? and do i need to enter anythign else in?

Edited by Mr.Sniper

Share this post


Link to post
Share on other sites



Locate the thread for IE.au3 in the developers forum, there are examples....

Share this post


Link to post
Share on other sites

I got this code from the IE.au3 text:

Func _IENavigate($o_object, $s_url, $f_wait = 1)
    If IsObj($o_object) Then
        $o_object.navigate ($s_url)
        If ($f_wait = 1) Then _IELoadWait($o_object)
        SetError(0)
        Return -1
    Else
        SetError(1)
        Return 0
    EndIf
EndFunc ;==>_IENavigate

and i don't know understand how it works... i tryed reading the help file that came with the autoit but it doens't explain variables well enough for me to understand... So can someone please explain to me how to assign variables

like lets say i wanted to go to www.google.com... where would i enter that in to make the code work?? and do i need to enter anythign else in?

<{POST_SNAPBACK}>

Local $s_url = "http://www.google.com" right under the Fuction. As per the previous post, read the documentation for this particular function.

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