Escape key press through program

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
Surendranath
Junior Member
Posts: 16
Joined: Mon Jan 07, 2013 9:43 am

Escape key press through program

Post by Surendranath » Thu Jan 31, 2013 3:57 pm

I have to regularly insert blocks at the end of a line drawn on the screen. I first draw the line and insert a block at the end of the line programmaticlly. I have to continue the line from the other end of the block. I now have to press escape twice to achieve this. Since I know the size of the clock I know where the mouse click should be. Is it possible to program so the two escape key presses can be avoided.

Thanks

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”