Modify

Opened 17 years ago

Closed 17 years ago

#1070 closed Feature Request (Rejected)

Adlib Suggestion

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].

====================================================

Attachments (0)

Change History (2)

comment:1 by TicketCleanup, 17 years ago

Version: 3.3.0.0

Automatic ticket cleanup.

comment:2 by Valik, 17 years ago

Description: modified (diff)
Resolution: Rejected
Status: newclosed

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.