Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: mapping a button to control window state

This topic is old and might contain outdated or incorrect information.

how would i map a single button on my controller to minimize the window if it is being shown and to restore the window if it is already minimized.

thanks for any help :-)
 

Posted Wed 27 Jul 16 @ 12:23 am
locoDogPRO InfinityModeratorMember since 2013
minimize

that should do it,
if not you need to toggle a var, query it and minimize : maximize
 

Posted Wed 27 Jul 16 @ 12:35 am
yeah just minimize didn't do it tried that already

wish i was better with this scripting but i really am not
 

Posted Wed 27 Jul 16 @ 1:13 am
locoDogPRO InfinityModeratorMember since 2013
Did minimize just do that [minimize no maximize]

anyway try this then

maximize 'fullscreen' ? minimize : maximize 'fullscreen'

although alt and tab can switch task without taking up a button
 

Posted Wed 27 Jul 16 @ 1:37 am
thank you
 

Posted Wed 27 Jul 16 @ 9:18 am


(Old topics and forums are automatically closed)