#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)
comment:1 by , 15 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
comment:2 by , 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 , 15 years ago
- It is not our responsibility to support Obfuscator since it is not a first party tool.
- Learn how to use Obfuscator instead of assuming it or the language is broken.

Replying to anonymous:
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".