Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (241 - 243 of 3893)

Ticket Resolution Summary Owner Reporter
#1944 No Bug AdlibUnRegister not working trusty Devol
Description

Hello,

Here an example:

#include <GUIConstantsEx.au3>

Opt("GUIOnEventMode", 1)

Global $Label, $iPos = 0 , $sleep = 10

$Form1 = GUICreate("Adlibtest - Sleep("&$sleep&")", 240, 100, 990, 30)
GUISetOnEvent(-3, "_Exit")
$Label = GUICtrlCreateLabel("Testlabel", 25, 14, 300, 16)
GUICtrlSetFont(-1, 11, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Start",15,50,60,40)
GUICtrlSetOnEvent(-1,"_startadlib")
$Button2 = GUICtrlCreateButton("Stop",120,50,60,40)
GUICtrlSetOnEvent(-1,"_stopadlib")
GUISetState(@SW_SHOW)

While Sleep($sleep) ; the higher the sleep , the more often the labelswitch fails
WEnd

Func _startadlib()
GUICtrlSetData($Label,"Running")
AdlibRegister("_Laufschrift")
EndFunc

Func _stopadlib()
AdlibUnRegister("_Laufschrift")
GUICtrlSetData($Label,"Stopped") ; labelswitch failing sometimes 
EndFunc

Func _Exit()
    Exit
EndFunc

Func _Laufschrift()
    GUICtrlSetData($Label, StringMid("Running", $iPos) & "           " & "Running")
    $iPos += 1.8
    If $iPos > StringLen("Running") Then $iPos = 0
EndFunc

I tested this script on several pcs but the behavoir is always the same. AdlibUnRegister

sometimes

fails and the subsequent command is not being executed.

You can try the examplescript , just click the buttons "Start" and "Stop" by turns.(wait 1-2 secs. before clicking stop) Sooner or later the label will be stopped on "Running Running Running" despite of the GuictrlsetData($Label,"Stopped").

Bug or not? :)

Greetz Devol

PS: I talked to the german forum before opening this ticket.

#3651 No Bug AutoIT3 Wrapper error after installing new version Digdeep
Description

I just went ahead and installed AutoIT latest version and no longer able to use CTRL+F5 or CTRL+F7. Getting the attached error.

I tried multiple re-installs but it's happening the same coming from the C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3.

#1765 Rejected Add ability to allow to embed AutoIt interpreter into C++ code Jon DmitryKa
Description

Propose to allow to embed the AutoIt INTERPRETER into C++ code, something like:

AU3_API void WINAPI AU3_Eval(LPWSTR szAutoItBasicScript);

So, I want to execute an AutoIt script from C++ (this script may be hard-coded into S++ string or read from any file, no matter).

Possibly - in AutoItX, possibly - in a new AutoItE (I understand that the interpreter code may be large, but it is not a big problem).

Corresponding forum topics: http://www.autoitscript.com/forum/index.php?showtopic=119728 http://www.autoitscript.com/forum/index.php?showtopic=108872&st=0&p=766950&hl=interpreter&fromsearch=1&#entry766950

Note: See TracQuery for help on using queries.