Opened 18 years ago
Closed 17 years ago
#414 closed Feature Request (Completed)
Better OnAutoItStart/OnAutoItExit handling
| Reported by: | anonymous | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| 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 , 18 years ago
| Milestone: | Future Release |
|---|---|
| Version: | 3.2.13.3 |
follow-up: 3 comment:2 by , 18 years ago
| 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 , 17 years ago
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 , 17 years ago
If there was progress don't you think it would stand to reason you would see the results of that progress?
comment:5 by , 17 years ago
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 , 17 years ago
| Milestone: | → 3.3.1.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added in version: 3.3.1.0

Automatic ticket cleanup.