Hi,
Can anyone help with the following script syntax.
Like to assing 3 functions to 1 button.
For example the PFL 1 button;
when pressed "PFL deck 1"
when shift and pressed browser_"gotofolder song"
when long pressed "unload deck 1"
appreciated.
freek
Can anyone help with the following script syntax.
Like to assing 3 functions to 1 button.
For example the PFL 1 button;
when pressed "PFL deck 1"
when shift and pressed browser_"gotofolder song"
when long pressed "unload deck 1"
appreciated.
freek
geposted Thu 30 Aug 12 @ 5:23 am
It is made up of these variables
var 'shift' ? action if shifted : action if not shifted
holding ? action if held : action if pressed
To make this
var 'shift' ? browser_gotofolder '/path/to/song' : holding ? unload : select
var 'shift' ? action if shifted : action if not shifted
holding ? action if held : action if pressed
To make this
var 'shift' ? browser_gotofolder '/path/to/song' : holding ? unload : select
geposted Thu 30 Aug 12 @ 5:44 am
holding ? deck 1 unload : var "$shift" ? browser_gotofolder 'song' : deck 1 pfl
geposted Thu 30 Aug 12 @ 5:44 am
Great thanks it works, tried the following just for test on the MC 6000
<map value="POST" action="holding ? deck 1 unload : var "$shift" ? play : deck 1 pfl" />
press pfl on / off
shift press play
press long it unloads
freek
<map value="POST" action="holding ? deck 1 unload : var "$shift" ? play : deck 1 pfl" />
press pfl on / off
shift press play
press long it unloads
freek
geposted Thu 30 Aug 12 @ 6:13 am
@fmooij - Better copy the action from within VDJ. The line you copied is not really usable for the most users beause it will not work in that way.
holding ? deck 1 unload : var "$shift" ? play : deck 1 pfl
means
holding ? deck 1 unload : var '$shift' ? play : deck 1 pfl
this is because specal characters get encoded in the saved XML file.
Greets, Heiko
holding ? deck 1 unload : var "$shift" ? play : deck 1 pfl
means
holding ? deck 1 unload : var '$shift' ? play : deck 1 pfl
this is because specal characters get encoded in the saved XML file.
Greets, Heiko
geposted Thu 30 Aug 12 @ 6:24 am