Custom Query (3922 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (292 - 294 of 3922)

Ticket Resolution Summary Owner Reporter
#1202 Duplicate AdlibEnable tayou fabrice
Description

I need that this function manage many functions (may be 3) at the same time instead of 1.

#1960 Rejected AdlibRegister - Parameter to call function instantly anonymous
Description
AdlibRegister("MyFunction", 60000)

This will call 'MyFunction' the first time after 60 Seconds and each 60 seconds again. What I'm missing is a parameter in AdlibRegister to call the specified function immidiately (and all 60 seconds).

Code like

MyFunction()
AdlibRegister("MyFunction", 60000)

will fix this, but for me who uses AdlibRegister quite often it is annoying and makes a longer sourcecode confusing.

Of course it is easy to write an UDF:

Func _AdlibRegister($_FuncName, $_WaitTime = 250, $_InstantCall = False)
If $_InstantCall = True Then Call($_FuncName)
AdlibRegister($_FuncName, WaitTime)
EndFunc

but then the Obfuscator will give an error due to the Call-function.

#2673 Rejected AdlibRegister(0) execute function instanly instead of after 250ms anonymous
Description

In current AutoIt version, AdlibRegister with negative or zero timeout will be auto correct to 250 ms. By allowing AdlibRegister with zero parameter, user will be free to setup a dispatch for a long-time-running business function.

Think the case you need to execute long-time running function but also want to process event like button click, you cannot using an "Dummy" control because it also use the same event queue with a normal button, so your normal button click will be cached and execute after the long-time running function). Of course you can set up some code to provide work around but i think AdlibRegister is the fastest way.

Currenly I use AdlibRegister(1) to get an acceptable solution, but I think allowing AdlibRegister(0) will provide more advantage, especially in concurrency. In a heavy application, some action will be occur in 1 ms delay.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.