#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 in reply to: ↑ description Changed 14 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
comment:2 Changed 14 years ago by anonymous
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 Changed 14 years ago by Valik
- 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.
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.
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".