Sign in to follow this  
Followers 0
unknown12

GUIBuilder Problem

9 posts in this topic

Hello,

I created a GUI with GUIBuilder. When I saved it as a .au3 and tried to run it I get this error:

Posted Image

I need to get this fixed. How?

Thanks.

Share this post


Link to post
Share on other sites



Hello,

I created a GUI with GUIBuilder. When I saved it as a .au3 and tried to run it I get this error:

Posted Image

I need to get this fixed. How?

Thanks.

Does you code contain : #Include<GUIConstants.au3>

Do you have a resent version of this file in the Includes subdirectory ?


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

#3 ·  Posted (edited)

Be sure you have this line at the begining of your script:

#include <GUIConstants.au3>

Edit: JdeB type faster than me.... :P

Edited by Danny35d

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

Yes, i have that. I just installed the latest beta release, and that fixed it.

Share this post


Link to post
Share on other sites

Whats the way to detect weather a checkbox is checked or not?

cheers.

Share this post


Link to post
Share on other sites

$h_test = GUICtrlCreateCheckbox("test", 15, 175)
......
If GUICtrlRead($h_test) = $GUI_CHECKED Then
    ;
EndIf


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

#7 ·  Posted (edited)

Thanks. only 1 more question :P

How would I read a txt file into a var?

EDIT: how do I add another string onto a var?

Thanks again.

Edited by unknown12

Share this post


Link to post
Share on other sites

$Var = $Var & $NewStrings


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Man you guys are quick...the groupbox error is because the $BS_GROUPBOX wasn't included until somewhere around beta 79. Latest beta would fix it.

-Livewire

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