CodyBarrett Posted May 15, 2010 Share Posted May 15, 2010 (edited) This is the first time i've attempted to learn about adlib, and here is my problem\misunderstanding SciTE - uses AdlibRegister\AdlibUnregister (the code syntax is blue) Autoit Helpfile - Has AdlibEnable\AdlibDisable (with a small example theory I tried SciTE's way first and it gives me this error $gui = GUICreate ('') GUISetState () AdlibRegister ('_Event') While GUIGetMsg () <> -3 WEnd Func _Event () ConsoleWrite ('Event Occured' & @LF) EndFunc >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "E:\Scripts\1.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams +>14:33:10 Starting AutoIt3Wrapper v.2.0.1.24 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X64 OS:X86) >Running AU3Check (1.54.14.0) from:C:\Program Files\AutoIt3 E:\Scripts\1.au3(3,24) : ERROR: AdlibRegister(): undefined function. AdlibRegister ('_Event') ~~~~~~~~~~~~~~~~~~~~~~~^ E:\Scripts\1.au3 - 1 error(s), 0 warning(s) !>14:33:10 AU3Check ended.rc:2 >Exit code: 0 Time: 1.803 i assumed it worked because the syntax highlighting was Blue, but no funcion existed in the helpfile, so i tried the helpfiles way, with a black highlighting akin to a UDF... THIS worked $gui = GUICreate ('') GUISetState () adlibEnable ('_Event') While GUIGetMsg () <> -3 WEnd Func _Event () ConsoleWrite ('Event Occured' & @LF) EndFunc does anyone understand why this happened? EDIT: after posting this.. i see that the forums syntax is opposite what of what i said, and that it may appear that nothing is wrong when looking at the forums code. - i'd still like to know why my SciTE has a func that doesn't exist Edited May 15, 2010 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
trancexx Posted May 15, 2010 Share Posted May 15, 2010 Your AutoIt is outdated. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 15, 2010 Author Share Posted May 15, 2010 (edited) i just installed the beta SciTE and the last release (unless there was a new one in the last week) EDIT: hmm, well thank you it works now that i installed the newest version of autoit... maybe i got my Copies mixed up.. i don't know, but i AM a little curious WHY it wasn't working, the Beta SCITE and a slightly older version of Autoit. its interesting.. does anyone know? Edited May 16, 2010 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
trancexx Posted May 16, 2010 Share Posted May 16, 2010 What's to know? SciTE is SciTE and AutoIt is AutoIt. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now