快速登录:  

Forum: VirtualDJ Technical Support

话题: Script for hotkey to load karaoke singers
Trying to write a script for 1 hotkey on the keyboard that will: search for a song with artist named "Awaiting Song Choice", add that song to the karaoke sidelist and pop up the singer and key dialog box. Any ideas?
 

发表时间 Tue 31 Aug 21 @ 7:44 pm
locoDogPRO InfinityModeratorMember since 2013
easier to know the exact path for your place holder file

@devs
There might be something for the devs to look at here

example, works fine if karaoke list has the focus

karaoke_add "M:\Music\Dance 120-130bpm\Tribal & Techno\Tech House V.2 2014\DJ Fronter , Vagandii - 5 PM (Valderrama Remix).mp3" & repeat_start 'wait' 100ms 1 & browser_scroll 'bottom' & edit_singer

if focus is some other window the edit_singer command jumps the gun
 

发表时间 Tue 31 Aug 21 @ 9:07 pm
NicotuxHome userMember since 2014
something like that
search "Awaiting Song Choice" & repeat_start kwt 170ms 1 & karaoke_add & browser_window 'karaoke' & browser_scroll bottom & edit_singer 

but totally useless :
- song named "Awaiting Song Choice" must exist (i.e. blank file)
- song can't be modified in karaoke list
- singer can't be written so can't copy when adding a file
- randomly fail because of search can take time depending on system load
 

发表时间 Tue 31 Aug 21 @ 9:18 pm