Jump to content

XSkin error when running au3


 Share

Recommended Posts

I have a small script that I'm creating a GUI with

#include <XSkin.au3>
#include <GuiConstants.au3>

XSkinGuiCreate('', 300, 500, @ScriptDir & '\Skins\Skilled')

GuiSetState(@SW_SHOW)
While 1
    $Msg = GuiGetMsg()
    Select
        Case $Msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd

very basic, the error however is in the XSkin.au3

when I run it by pressing F5 in SciTE it works fine but when I run the au3 file I get the following erro:

Line 94

$guiHeader2 = $WS_POPUP

variable used before being declared

any idea why it would work from scite and not the au3 file?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...