Sign in to follow this  
Followers 0
AcidCorps

XSkin error when running au3

3 posts in this topic

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?

Share this post


Link to post
Share on other sites



oops... sorry

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