I am trying to map a pad to flash once a request is received and then when I click the pad it will open the ask the DJ sideview tab. Looking at forums I can get the pad to select the sideview tab with (sideview 'askthedj://') and I can get the button to flash using this script (get_askthedj_unread ? blink 400ms : param_equal `get_browsed_folder` "Ask the DJ" ? goto_last_folder : browser_gotofolder "askthedj://"). However when I get a request cliking the pad does nothing and I have the select the tab manually. Once I've selected this and the flashing has stopped the pad will then open the ask the DJ file. Has any one a script that will achieve my outcome or am I asking to much? Thanks in advance.
Posté Wed 05 Mar 25 @ 9:27 pm
( get_askthedj_unread ? blink 400ms : ) & param_equal `get_browsed_folder` "Ask the DJ" ? goto_last_folder : browser_gotofolder "askthedj://"
Posté Wed 05 Mar 25 @ 9:43 pm
@ Locodog,
Exactly the same problem here. With the given script use then nothing blinks but the message has come in. So I use my old script again so that I at least see something coming in.
Exactly the same problem here. With the given script use then nothing blinks but the message has come in. So I use my old script again so that I at least see something coming in.
Posté Tue 06 May 25 @ 9:44 am
@Locodog
The problem seems to be in the first part:
"get_askthedj_unread ? blink 400ms :"
If a message comes in and the blinking starts, nothing happens when you press the button. But if no message has come in, you can switch browsers.
The problem seems to be in the first part:
"get_askthedj_unread ? blink 400ms :"
If a message comes in and the blinking starts, nothing happens when you press the button. But if no message has come in, you can switch browsers.
Posté Tue 06 May 25 @ 10:00 am
( get_askthedj_unread ? blink 400ms : ) & & param_equal `get_browsed_folder` "Ask the DJ" ? goto_last_folder : browser_gotofolder "askthedj://"
Posté Tue 06 May 25 @ 3:18 pm
@Locodog
Thanks for your response. "& &" was the solution. Everything works fine again.
Thanks for your response. "& &" was the solution. Everything works fine again.
Posté Wed 07 May 25 @ 3:28 am
This is what I use, dont remeber who helped me do this but it works great !
get_askthedj_unread ? blink 375ms & up? show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : sideview 'askthedj://'? on & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : off & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing
get_askthedj_unread ? blink 375ms & up? show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : sideview 'askthedj://'? on & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing : off & up? sideview 'askthedj://'? show_splitpanel 'sideview' off & sideview 'Sidelist' : show_splitpanel 'sideview' on & sideview 'askthedj://' : nothing
Posté Wed 07 May 25 @ 5:00 pm
@Freppa
Wow.., that's quite a story, but it does work.
Wow.., that's quite a story, but it does work.
Posté Thu 08 May 25 @ 12:20 pm
From ChatGPT:
VDJscript treats & & as two separate logical OR conditions (& being shorthand for OR in some VDJ contexts, like filter folder syntax).
VDJscript treats & & as two separate logical OR conditions (& being shorthand for OR in some VDJ contexts, like filter folder syntax).
Posté Mon 19 May 25 @ 8:23 am
Chatgpt is worthless when it comes to vdj script. And the reply you posted from it is entirely false.
Posté Mon 19 May 25 @ 8:32 am
That is also the reason I brought this to attention. & & is the solution, nothing wrong with that.
Posté Mon 19 May 25 @ 9:05 am