快速登录:  

Forum: VirtualDJ Technical Support

话题: mapping a button to control window state

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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 :-)
 

发表时间 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
 

发表时间 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
 

发表时间 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
 

发表时间 Wed 27 Jul 16 @ 1:37 am
thank you
 

发表时间 Wed 27 Jul 16 @ 9:18 am


(陈旧帖子或论坛版块会自动关闭)