Jump to content

Need help with this error (T_T )


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

  • 3 months later...

@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

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...