Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 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)

comment:1 in reply to: ↑ description Changed 13 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

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 Changed 13 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 13 years ago by Valik

  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.

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.