Opened on Nov 15, 2011 at 1:38:57 PM
Closed on Nov 15, 2011 at 7:08:44 PM
Last modified on Nov 17, 2011 at 10:14:21 AM
#2053 closed Feature Request (Rejected)
HotKeySet in AutoItX
| Reported by: | Owned by: | Jon | |
|---|---|---|---|
| Milestone: | Component: | AutoItX | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
HotKeySet doesn't seem to be implemented in AutoItX.
would it be possible to add it for a next version ?
Attachments (0)
Change History (5)
comment:1 by , on Nov 15, 2011 at 3:00:02 PM
| Version: | 3.3.6.1 |
|---|
comment:2 by , on Nov 15, 2011 at 7:08:44 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Your host language should provide hotkey support, not AutoIt.
follow-up: 4 comment:3 by , on Nov 16, 2011 at 1:24:15 PM
Don't be surprised if autoitx isn't used by many if you react like this for a simple request.
comment:4 by , on Nov 16, 2011 at 6:15:28 PM
Replying to anonymous:
Don't be surprised if autoitx isn't used by many if you react like this for a simple request.
React like what? I closed the ticket as rejected with a reason why. Since you've now prodded me I'll add in that this is an incredibly stupid request. Calling it "simple" is laughable and shows just how ignorant you are. It's not simple.
Implementing this requires not one but TWO completely different callback mechanisms. AutoItX would need to implement COM events for languages using it via COM. It would also need to implement a C interface for languages using that binding method. Even when the callback is invoked it's just going to shift control right back to your host language anyway so why not do the logical thing and implement all the hotkey stuff yourself in the host language? If your host language doesn't support registering hotkeys but you need that for your application then I guess you picked the wrong language to begin with?
So yeah, all-in-all a really stupid request I politely closed until somebody decided to argue about it. Good job.
comment:5 by , on Nov 17, 2011 at 10:14:21 AM
ok. thanks for the informations.
Sometimes, it would be good to have a little more explanations as we are not aware of all the internal mecanisms. I was just trying to use your tool (that is really so powerfull) and didn't have any fun to develop in basic so, I try to use autoitx with python and was just surprised that the fonctionality of the hotkeyset was not implemented as it seems so simple and that a native python solution is really uggly and requires so much coding.

Automatic ticket cleanup.