'Close' button ?

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

Moderator: Support

Post Reply
wanzi
Posts: 13
Joined: 16 Feb 2012, 03:47

'Close' button ?

Post by wanzi » 28 Jan 2013, 04:33

hi,all
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.
thanks.

Alex Klein

Re: 'Close' button ?

Post by 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

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

Re: 'Close' button ?

Post by 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.

cheers

Post Reply