Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by TicketCleanup

  • Version 3.3.0.0 deleted

Automatic ticket cleanup.

comment:2 Changed 10 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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.