Opened 15 years ago
Closed 15 years ago
#1070 closed Feature Request (Rejected)
Adlib Suggestion — at Version 2
Reported by: | ZNote | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description (last modified by Valik)
; Written By ZNote ( ZNOTE9 aT yAhoO dOt CoM )
====================================================
AdlibDisable()
How to disable all AdlibEnabled functions?
You can pass parameter "All" for AdlibDisable() Function, which
will disable all AdlibEnabled functions.
Ex: AdlibDisable("All")
====================================================
AdlibEnable()
If you have too many adlib functions to be enabled then
passing an array will make things easier.
Ex: AdlibEnable($array)
where "$array" is list of function names.
Also 2d array for passing parameters.
$array[$function_name][$paramter(s)_string(list)_with_delimiter(s)]
or
$array[$function_name][$time].
====================================================
Change History (2)
comment:1 Changed 15 years ago by TicketCleanup
- Version 3.3.0.0 deleted
comment:2 Changed 15 years ago by Valik
- Description modified (diff)
- Resolution set to Rejected
- Status changed from new to closed
In Beta 3.3.1.2 there will be a way to unregister all Adlib functions with the code:
While AdlibUnregister("") WEnd
It is not possible to use a string such as "All" because there could be a function named "All".
You can easily write your own loop to register functions from an array:
Func AdlibRegisterAll($aFuncs) For $sFunc In $aFuncs AdlibRegister($sFunc) Next EndFunc ; AdlibRegisterAll()
The functions AdlibEnable() and AdlibDisable() will be removed from the language and should not be used.
Now, please go read WikiStart. Both tickets you've created today are very hard to read because code isn't in the proper format and the text is double-spaced.
Automatic ticket cleanup.