快速登录:  

Forum: VirtualDJ Skins

话题: Action on load song

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

Dodge57PRO InfinityMember since 2009
 

发表时间 Sat 26 Jan 13 @ 9:56 am
Dodge57PRO InfinityMember since 2009
its not possible ??
 

发表时间 Sun 27 Jan 13 @ 4:33 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
action="deck x loaded ? action if loaded : action if not"
or for a panel
<panel . ...... visible="deck x loaded">
 

发表时间 Sun 27 Jan 13 @ 6:14 pm
Dodge57PRO InfinityMember since 2009
"action="deck x loaded ? action if loaded : action if not"

Ok, I can use that for a button. But It just work if I clic on this button.

I search a possibility to run an action automaticly at the moment I load a song.
 

发表时间 Sun 27 Jan 13 @ 6:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
As above, you may use panels with visible="deck x loaded ? true : false" for the things that need to happen if a deck is loaded
and visible="deck x loaded ? false : true" for the others.

What exactly do you need to achieve ?

Note. deck x loaded returns true or false depending on the status of the deck. If a deck already has a song loaded and you load another one, it will still give true.

If you wish to have an action when loading a song, you will need to map it to a controller/skin/keyboard button. If you choose to load a song with drag n drop, then you cant control that.
 

发表时间 Sun 27 Jan 13 @ 8:01 pm
Dodge57PRO InfinityMember since 2009
this is something that I want

I would like to pass a variable to 1 when a song is loaded, without having to activate a button or something.
 

发表时间 Sun 27 Jan 13 @ 10:48 pm
Dodge57PRO InfinityMember since 2009
I tried dozens of methods but nothing work :(
 

发表时间 Mon 28 Jan 13 @ 1:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
I think you have not understood my reply above, so i will explain that further...

You can control a variable if you query the ..deck x loaded .. action, but this is only querying if a deck is loaded or not.

If you need to control a variable each time you load a song, then you can only do it by editing the action of a skin element/controller button/keyboard button. You can not control it if you load a song by drag n dropping.

 

发表时间 Mon 28 Jan 13 @ 6:16 pm
Dodge57PRO InfinityMember since 2009
it's true, I do not quite understand because my English is limited.

I hoped that a deck can automaticly move in rightdeck or leftleft alone on loading a song.
Therefore it is not possible ...

thank you anyway
 

发表时间 Mon 28 Jan 13 @ 9:28 pm


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