Quick Sign In:  

Forum: General Discussion

Topic: Script School - Page: 16.55
You guys are awesome,
thanks for that quick answer, specially late on a Friday when we're getting ready for the weekend.
Have a good one
 

Posted Fri 30 Jul 21 @ 3:58 pm
locoDogPRO InfinityModeratorMember since 2013
@DJ Penflod we're not always this fast, but we try to be.

@Nicotux can't second guess everything, if we knew every user detail we wouldn't be guessing.
 

Posted Fri 30 Jul 21 @ 4:10 pm
I have noticed the same thing, and I'd like to find a fix for it. Have you found one?

lt_jordan wrote :
...Does anyone know how I can tell Virtual DJ to cease from stopping / starting my Rane Twelve turntables?
 

Posted Sat 14 Aug 21 @ 7:20 am
locoDogPRO InfinityModeratorMember since 2013
@lt_jordan && @musicbycsharp

just don't unload the deck.
 

Posted Sat 14 Aug 21 @ 7:28 am
locoDogPRO InfinityModeratorMember since 2013
A few things in BUILD 6636 (2021-09-08)
-New default keyboard mapper. Start typing to start searching, hold ALT pressed to show keyboard overlay and double-press ALT to make it sticky and use shortcuts without holding ALT
-pitch_bend can be used to move song while paused
-Add browser_open_folder script to open/close selected folder

browser_open_folder is pretty straight forward no point in going over it, personally I'm more a fan of using, browser_enter, browser_folder to navigate browser windows folders & songs, but this is a slightly different way to do the same is thing.

Again pitch_bend can be used to move song while paused, not much to it just a sight script tweak, now very little need to use "nudge" scripts, pitch_bend is a finer touch.

-New default keyboard mapper
sort of helps keep searching & scripting separate from the keyboard. A general tidy up, modernisation and streamlining
Let's look at it.

I select the factory default keyboard mapping and I hold ALT
and this is what I see [holding alt will call the new action " keyboard_shortcuts " ]


ATL+
21 keys for left & right decks including pads some global actions like crossfade adjust pitch all, switch pfl, mix now.
pretty tidy
I could ALT+1 to make deck left play, but I could also double tap ALT to make the Alt key stick and just press 1 on it's own, I press ALT again to "unstick" the alt key

A few actions also tied to CTRL+, mostly browser navigation


only one action tied to Shift+ [shift+Esc] opens settings

So this new mapping also introduces a new type of button press event
UNMAPPED
any key press that doesn't have an action tied to it will call the UNMAPPED script, which in this default mapping goes straight to search.

If you consider you keyboard a vital piece of equipment to call scripts this new mapping may not be for you, but the OSD is kind of nice to see your mapping in position and not as a list [I spotted some things I could tidy up on my own extensive, 10 years in the making,keyboard mapping]

I think that's it for now.
 

Posted Wed 08 Sep 21 @ 10:31 am
NicotuxHome userMember since 2014
Also note (b6646): "RIGHT ALT" also known as "ALT GR" opens the CTRL+ALT map or close ALT map
double pressure make it sticky as well
press "RIGHT ALT" again to "unstick" the MAP

when holding "RIGHT ALT" pressing CTRL will toggle ALT map at release (not when sticky)

Even the tiny doc says "While holding CTRL or ALT, show keyboard mapping overlay in browser area" the CTRL key does not seem to make it appear - CTRL+ and CTRL+SHIFT maps do not display

COMPLEX to use with combination keys for now (may need some fixes) :
pressing CTRL then ALT will not open the map, but pressing ALT then CTRL will
pressing SHIFT then ALT will not open the map, but pressing ALT then SHIFT will
pressing SHIFT then RIGHT ALT will open the map as well as RIGHT ALT then SHIFT
this is the same map as ALT+CTRL+SHIFT
pressing CTRL then RIGHT ALT will open the map releasing will temporary show ALT map but go back to CTRL+ALT map; next pressure to CTRL make ALT map display

This is a restricted keyboard (no keypad)
 

Posted Thu 16 Sep 21 @ 4:59 am
AdionPRO InfinityCTOMember since 2006
If you want the map on ctrl or shift as well you can simply assign keyboard_shortcuts to those as well.
For the default map we decided not to since ctrl is also used for some basic shortcuts like ctrl+a, ctrl+c ctrl+v or hold and click to select multiple files. It might be annoying to have the keyboard map pop uo while trying to use the browser.
Therefore the shortcuts we did assign to ctrl are also the ones related to the browser
 

Posted Thu 16 Sep 21 @ 6:33 am
This is all cool stuff ! Thanks for posting more details.

Is there a way to add a second KB, one that VDJ sees and can be set to the default Mapping, and another that VDJ does not see that is used for typing in other applications on a different screen?

When I attempt to add a second USB, KB I don't see it added to Mapping section so one can define its use.
(Both KBs work perfectly, can type on either.)

would a PS2 and USB keyboard combo look different to VDJ so it would see both?

Currently I make to many mistakes, (when attempting to type in other applications), if I have the Default KB mapping enabled .. It would be great if one could have a second KB added for that.
 

Posted Thu 16 Sep 21 @ 6:40 am
AdionPRO InfinityCTOMember since 2006
No, afaik windows does not tell an application which keyboard a key press is coming from.
It might be possible by handling the keyboards with custom code and reading the data from the keyboard directly, but I think the number of people interested in connecting a second keyboard will be too small to justify the complexity
 

Posted Thu 16 Sep 21 @ 6:45 am
Thank you Adion for the speedy reply..

I ask, since most times.. VDJ can do much more then I am aware of.. or imagine,
and I can easily live without a second KB.

Again thanks

---------
And if possible... a second KB could be a inexpensive alternative for a novation lauchpad like, extra set of programmable buttons.
 

Posted Thu 16 Sep 21 @ 6:50 am
locodog wrote :

browser_open_folder is pretty straight forward no point in going over it, personally I'm more a fan of using, browser_enter, browser_folder to navigate browser windows folders & songs, but this is a slightly different way to do the same is thing.

I think you underestimated this action.
First of all it can accept on/off
And when used with "off" as an example it always closes the current sub and then moves backwards one level.
In other words, with just a few presses you can now return to the root of your database with all folders collapsed.
Same goes when used with "on"
You use it to open subfolders and you don't have to worry that if no subfolders are present the focus will switch to songs instead.

Personally in my own keyboard mapper I have mapped BACKSPACE to do "browser_open_folder off" and RETURN (Enter key) to do "browser_open_folder on"

 

Posted Thu 16 Sep 21 @ 12:19 pm
locoDogPRO InfinityModeratorMember since 2013
@Phantom thanks for the clarity.
I'm mostly picking tunes out of a search or a filter or a vFolder so those actions aren't something I use.
 

Posted Thu 16 Sep 21 @ 1:35 pm
Fair, but I though this thread was not meant for what we use, rather what can be done with scripts! :P
 

Posted Thu 16 Sep 21 @ 3:20 pm
Thank you PhantomDeeJay for your post .. always cool to understand more what is possible with each update.

I have wished that there was Sticky post, where staff or others, gave more details for each of the amazing updates and additions to VDJ.

Love VDJ !
 

Posted Thu 16 Sep 21 @ 9:28 pm
Hello everyone. So, I have a few questions.
1) Play Next or automix_add_next - which of these 2 functions will be more suitable for me? You need to add a script to the task schedule:
add one (specific or random) file from the folder as follows! Let's call them * workfile (s), while it is located in one specific folder (or it can be a virtual folder). Next.... We expand the possibilities.... There are 72 files in that folder, 3 pcs. for each hour, i.e. you need to run a file every time that has not yet been played today.

2) Task schedule - This task must be repeated every 20 minutes during the day.

Let's start with this, if there is a correct solution, then I will continue to throw up interesting ideas.
 

Posted Fri 17 Sep 21 @ 4:30 pm
mg_1978PRO InfinityMember since 2008
Hi at all, how i map a button to change focus from browser_window “folders” to brower_window “songs” only if folders focus is in “sample Recording” file or inside the “sample” folder? i have mapped: get_browsed_folder ‘sample’ ? browser_window ‘songs’ : nothing
but doesn’t work :(
 

Posted Tue 28 Sep 21 @ 10:59 am
locoDogPRO InfinityModeratorMember since 2013
param_equal `get_browsed_folder` "YOUR_STRING" ? TRUE : FALSE

could also use

param_contains
with
get_browsed_filepath

if you need the query to not be as specific
 

Posted Tue 28 Sep 21 @ 11:16 am
NicotuxHome userMember since 2014
if its only for samples they are virtual elements

param_equal `get_browsed_song extension` vdjsample ? browser_window songs
 

Posted Tue 28 Sep 21 @ 4:39 pm
mg_1978PRO InfinityMember since 2008
get_browsed_filepath & param_contains ‘Recordings’
is perfect! thanks for the script; i have another question:
with a button i would record max 9 files in folder ‘Recordings’, i have write this script:
browser_gotofolder ‘Sampler\Recordings’ & browser_window ‘songs’ & file_cont 10 ? nothing : sampler_rec ‘master’
but with this script i push 2 time button for recording…1 time for set folder focus in folder ‘Recordings’ and 2 time for recording from master….could i do this with script that record or not pushing only 1 time button? thanks a lot!
 

Posted Wed 29 Sep 21 @ 8:10 am
mr.ZvooK wrote :
Hello everyone. So, I have a few questions.
1) Play Next or automix_add_next - which of these 2 functions will be more suitable for me? You need to add a script to the task schedule:
add one (specific or random) file from the folder as follows! Let's call them * workfile (s), while it is located in one specific folder (or it can be a virtual folder). Next.... We expand the possibilities.... There are 72 files in that folder, 3 pcs. for each hour, i.e. you need to run a file every time that has not yet been played today.

2) Task schedule - This task must be repeated every 20 minutes during the day.

Let's start with this, if there is a correct solution, then I will continue to throw up interesting ideas.


There is no answer or recommendation to my question?
 

Posted Wed 29 Sep 21 @ 12:40 pm
36%