Jump to content
Sign in to follow this  
TranMinhDuc

Need help with this error (T_T )

Recommended Posts

TranMinhDuc

Posted Image

Some body can tell me what it mean.. pls

And this is script cause that error (i think..)

HotKeySet ("{PGUP}","UpDangerPos")
;...
Func UpDangerPos()
    GUICtrlSetData($Input_DangerPos,GUICtrlRead($Input_DangerPos)+7)
EndFunc
;..

$Input_DangerPos is a Input Box

If no "+7", no error.

(My english is not good ;) )

Edited by TranMinhDuc

Share share share... and share share shareForum AutoIT Việt

Share this post


Link to post
Share on other sites
ResNullius

Seems to work for me:

GUICreate("test")

$Input_DangerPos = GUICtrlCreateInput("5", 5, 5)
GUISetState()

HotKeySet("{PGUP}", "UpDangerPos")

Do
    Sleep(100)
Until GUIGetMsg() = -3
;...
Func UpDangerPos()
    GUICtrlSetData($Input_DangerPos, GUICtrlRead($Input_DangerPos) + 7)
EndFunc 
;..

What version of AutoIt are you using?

Share this post


Link to post
Share on other sites
TranMinhDuc

oh.. i forgot. it is v3.2.12.0

this error start when i use some function in IE.au3 (#include <IE.au3>)

other include is:

#include <WindowsConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

and the script error when i use hot key

Edited by TranMinhDuc

Share share share... and share share shareForum AutoIT Việt

Share this post


Link to post
Share on other sites
ResNullius

oh.. i forgot. it is v3.2.12.0

this error start when i use some function in IE.au3 (#include <IE.au3>)

other include is:

#include <WindowsConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

and the script error when i use hot key

Latest AutoIt Release version is 3.2.12.1

Download that and see if you still get the error.

Other than that, can't tell you more unless you post a script we can run that reproduces the error.

Share this post


Link to post
Share on other sites
TranMinhDuc

Thanks for your help... ;)

But this script is a part of Software belong many people, so i cant upload all of them.


Share share share... and share share shareForum AutoIT Việt

Share this post


Link to post
Share on other sites
cyberbear

this error happened to me when accidentally ran multiple gui's...

all i know about that.

Share this post


Link to post
Share on other sites
TranMinhDuc

@ResNullius: i try v3.2.12.1... it still error

@cyberbear: ya.. me too

i created 2 Gui and show them like this

$Main=GUICreate("Main")
$Child=GUICreate("Child",Default,Default,Default,Default,Default,Default,$Main)

GUISetState(@SW_SHOW,$Child)
GUISetState(@SW_SHOW,$Main)
(Show Child fisrt)

And when error, SciTE4AutoIt3 show me this message ">Exit code: 255 Time: 1.940", do you know what is "code:255"

Edited by TranMinhDuc

Share share share... and share share shareForum AutoIT Việt

Share this post


Link to post
Share on other sites
cyberbear

@ResNullius: i try v3.2.12.1... it still error

@cyberbear: ya.. me too

i created 2 Gui and show them like this

$Main=GUICreate("Main")
$Child=GUICreate("Child",Default,Default,Default,Default,Default,Default,$Main)

GUISetState(@SW_SHOW,$Child)
GUISetState(@SW_SHOW,$Main)
(Show Child fisrt)

And when error, SciTE4AutoIt3 show me this message ">Exit code: 255 Time: 1.940", do you know what is "code:255"

exit code, try putting a loop :

_Main()

Func _Main()

While 1 = 1

Sleep 1000

WEnd

EndFunc

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  

×