Sign in to follow this  
Followers 0
Wolffe

I can't find the error

3 posts in this topic

If $text Not =("FolderView") Then
            $pos2 = WinGetPos("Control Panel")
        ;$position[0] is x-pos, $position[1] is y-pos
            sleep(500)
            MouseClick("left",$pos2[0]+184, $pos2[1]+141,1,0)
            sleep(1000)
            $pos2 = WinGetPos("Control Panel")
        ;$position[0] is x-pos, $position[1] is y-pos
            sleep(500)
            MouseClick("left",$pos2[0]+98, $pos2[1]+172,2,0)
            sleep(1000)
        EndIf

The error from Scite is

Windows Config 2.4.6.au3(124,12) : ERROR: syntax error

If $text Not

~~~~~~~~~^

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

If Not ($text = "FolderView") Then

-or -

If $text <> "FolderView" Then

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Great. Thanks. I figured a fresh set of eyes would catch it pretty easily.

Thanks again.

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