Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Action on load song

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

Dodge57PRO InfinityMember since 2009
 

Posted Sat 26 Jan 13 @ 9:56 am
Dodge57PRO InfinityMember since 2009
its not possible ??
 

Posted 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">
 

Posted 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.
 

Posted 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.
 

Posted 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.
 

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

Posted 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.

 

Posted 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
 

Posted Mon 28 Jan 13 @ 9:28 pm


(Old topics and forums are automatically closed)