Jump to content
Sign in to follow this  
Wolffe

I can't find the error

Recommended Posts

Wolffe

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
Jos

If Not ($text = "FolderView") Then

-or -

If $text <> "FolderView" Then

Edited by JdeB

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

Share this post


Link to post
Share on other sites
Wolffe

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.