Opened on Jun 27, 2008 at 1:59:36 PM
Closed on Jan 8, 2009 at 4:30:56 PM
#414 closed Feature Request (Completed)
Better OnAutoItStart/OnAutoItExit handling
| Reported by: | anonymous | Owned by: | Jpm |
|---|---|---|---|
| Milestone: | 3.3.1.0 | Component: | AutoIt |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
I propose to add multiple OnExitFuncs, so that you can easily clean up code in the End of Script. Some UDFs ( like GUICtrlSetOnHover UDF )using GDIplus or Timers free resources in OnAutoItExit, so you can't use this funtion without making changes to UDFs.
It would be easier, if there was a Command like
AddOnAutoItExitFunc("FunctionName")
Attachments (1)
Change History (7)
comment:1 by , on Jun 27, 2008 at 2:00:47 PM
| Milestone: | Future Release |
|---|---|
| Version: | 3.2.13.3 |
follow-up: 3 comment:2 by , on Jun 27, 2008 at 4:15:08 PM
| Summary: | Multiple Exit Functions → Better OnAutoItStart/OnAutoItExit handling |
|---|
I agree, the way both OnAutoItStart and OnAutoItExit are implemented is absolute rubbish and needs re-designed from the ground up to facilitate more than one handler being registered without complex chaining by the user.
I'm renaming the ticket to better reflect the content.
comment:3 by , on Dec 22, 2008 at 10:53:43 PM
Replying to Valik:
I agree, the way both OnAutoItStart and OnAutoItExit are implemented is absolute rubbish and needs re-designed from the ground up to facilitate more than one handler being registered without complex chaining by the user.
I'm renaming the ticket to better reflect the content.
Any progress on this?
Wouldn't it be quite simple to change it to a simple stack model chain where the first function added to the chain is the last to be called?
comment:4 by , on Dec 22, 2008 at 11:40:17 PM
If there was progress don't you think it would stand to reason you would see the results of that progress?
comment:5 by , on Dec 30, 2008 at 9:03:45 PM
I made some sort of UDF (OnAutoItExit Handler, also attached as a zip-file) from the idea (in the first post), hope it can be usefull untill it will be(?) added natively.
comment:6 by , on Jan 8, 2009 at 4:30:56 PM
| Milestone: | → 3.3.1.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added in version: 3.3.1.0

Automatic ticket cleanup.