Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1960 closed Feature Request (Rejected)

AdlibRegister - Parameter to call function instantly

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc: m.segelken@…

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.

Attachments (0)

Change History (3)

in reply to:  description comment:1 by Valik, 15 years ago

Resolution: Rejected
Status: newclosed

Replying to anonymous:

Of course it is easy to write an UDF:

It was this point you should have stopped and thought to yourself, "you know, it is really easy, maybe I don't need to post a ticket about this".

comment:2 by anonymous, 15 years ago

I didn't think of getting such a nice reject since it is one of the easiest requests you ever get and since it will solve the Obfuscator problem the easiest way.
Nevermind, when you're not interested.

comment:3 by Valik, 15 years ago

  1. It is not our responsibility to support Obfuscator since it is not a first party tool.
  2. Learn how to use Obfuscator instead of assuming it or the language is broken.

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.