Hy,
it's possible to make an action in a skin if song is loaded ?
I find this : http://www.virtualdj.com/wiki/VirtualDJv6.0.html
and I can read : New skin element: <onload action=""/>
but it don't work...
it's possible to make an action in a skin if song is loaded ?
I find this : http://www.virtualdj.com/wiki/VirtualDJv6.0.html
and I can read : New skin element: <onload action=""/>
but it don't work...
Mensajes Sat 26 Jan 13 @ 9:56 am
its not possible ??
Mensajes Sun 27 Jan 13 @ 4:33 pm
action="deck x loaded ? action if loaded : action if not"
or for a panel
<panel . ...... visible="deck x loaded">
or for a panel
<panel . ...... visible="deck x loaded">
Mensajes Sun 27 Jan 13 @ 6:14 pm
"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.
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.
Mensajes Sun 27 Jan 13 @ 6:38 pm
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.
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.
Mensajes Sun 27 Jan 13 @ 8:01 pm
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.
I would like to pass a variable to 1 when a song is loaded, without having to activate a button or something.
Mensajes Sun 27 Jan 13 @ 10:48 pm
I tried dozens of methods but nothing work :(
Mensajes Mon 28 Jan 13 @ 1:38 pm
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.
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.
Mensajes Mon 28 Jan 13 @ 6:16 pm
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
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
Mensajes Mon 28 Jan 13 @ 9:28 pm