


Hi ISI360, thank you for sharing your program, it certainly is VERY useful! #Region ************ Includes ************ #include for $ES_AUTOHSCROLL and $ES_READONLY #include for $GUI_EVENT_CLOSE #include for $SS_SIMPLE and $SS_SUNKEN #include #EndRegion ************ Includes ************įeel free to send me a message about ISN questions (In the ISN with or without advanced debugging and compiled)
#Wit witgui update#
AutoIt Includes are marked as #include-once.so they can in theory stand 100 times in your script, it will only include the stuff in it once.Īnd in your case simply remove the constants from your script and update your includes to this and it should work. The solution to this is pretty simple: Just use the official includes (where the constants are defined) and do not redifine it at your own. So if you have advanced debugging enabled it will crash at your declarations because they are already declared through the injected code.Īnd when you compile the script (or run it wit advanced debugging disabled).the debug code is (of corse) not included.and so the constants are missing in this way -> Crash. And this code has it own includes with already includes stuff like $SS_SIMPLE and so on.

If it´s enabled, the isn "injects" some code to you script (to make it debuggable) when you run it. I am the developer of the ISN AutoIt Studio.and i will expanin this behavior for you:Īt first it makes a difference if you have the advanced debugging enabled. Global Const $SS_SIMPLE = 0xB Global Const $SS_SUNKEN = 0x1000 Global Const $ES_AUTOHSCROLL = 128 Global Const $ES_READONLY = 2048 Global Const $GUI_EVENT_CLOSE = -3 In order to run it in ISN Autoit Studio you have to comment out lines 12-16.
