#2053 closed Feature Request (Rejected)
HotKeySet in AutoItX
Reported by: | zorg@… | 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 Changed 13 years ago by TicketCleanup
- Version 3.3.6.1 deleted
comment:2 Changed 13 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
Your host language should provide hotkey support, not AutoIt.
comment:3 follow-up: ↓ 4 Changed 13 years ago by anonymous
Don't be surprised if autoitx isn't used by many if you react like this for a simple request.
comment:4 in reply to: ↑ 3 Changed 13 years ago by Valik
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 Changed 13 years ago by anonymous
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.
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.
Automatic ticket cleanup.