'Close' button ?

Q and A about functionality and how to solve a special task for your application.

'Close' button ?

Postby wanzi » 28 Jan 2013, 04:33

When i run VPR file, is there another method to close the program without using mouse or keyboard (ESC or ALT + F4)?Is there a method to close the program node inside ventuz? so that i can create a 'Close' button for that.
Posts: 13
Joined: 16 Feb 2012, 03:47

Re: 'Close' button ?

Postby Alex Klein » 29 Jan 2013, 14:26

I'm not the expert on this, but I would guess the only other way is to use a script node... you might try to use the keyboard node and emit the key from there. Note the:
EmitSimulatesHardware property which basically causes Ventuz to inject the key into Windows itself: http://www.ventuz.com/support/help/late ... board.html

Alex Klein

Re: 'Close' button ?

Postby partyboarder » 17 Jun 2015, 10:55

The emitSimulatesHardware Method does not release the Alt-Key after exit. So Windows still thinks that the key is still pressed. You have to manually press it again to regain normal control.

Posts: 13
Joined: 20 Jun 2013, 20:58

Return to How to...