How to Play Script Again After Set Unactive

Forum: VirtualDJ Skins

I would like to add together a modifier to an 'open browser' button which would unload the deck which is not playing OR no book from the deck i.e. crossfader on other deck. Is this possible?

The icing on the cake would be to load a selected rail into the empty deck and close the browser automatically....

I accept tried some different commands with a custom push button, only am getting nowhere fast. I don't really know the correct syntax but need something like:
check if deck is master or playing ? nothing : unload
I don't know how to do the first bit - checking condition of decks.

Well-nigh completely frazzled at present...


Posted Sunday 09 May 21 @ 11:02 pm
locodog PRO Infinity Moderator Fellow member since 2013

so your button + deck i play !? deck i unload : deck 2 play !? deck two unload : conduct on for how many decks

personally I don't see the use, I did once, only it now feels like unnecessary hand-holding, I'k all up for making things easier, only if you can't retrieve i or 2 tracks ago, it probably time to drink some water and take 5 minutes.


Posted Sun 09 May 21 @ eleven:35 pm
Nicotux Home user Member since 2014

Do not see the use either but keeping the way locodog opened and to answer to the 1st question by the mode (inactive)

things similar that may do:

set "$loaded" 0 & deck all var "$loaded" !? masterdeck !? play !? load & toggle "$loaded" : is_audible !? stop & load & toggle "$loaded"

loads the browsed rail to kickoff inactive (empty or not aural) but master track

May empty and stop all the other unusefuly running decks:

set "$loaded" 0 & deck all var "$loaded" ? is_audible !? unload : : masterdeck !? play !? load & toggle "$loaded" : is_audible !? end & load & toggle "$loaded"

shut the browser ? I exercise non see what that hateful


Posted Mon 10 May 21 @ 12:23 am
VDJ Rob G PRO Infinity Fellow member since 2013

Thanks guys, I'll try out your solutions.

Basically, I take a surface go 2 and am trying to get it looking skillful sat on my ddj1000.

Evidently the 10 inch screen is too small-scale for the default pare, so I'm modifying i of my one-time ones.
I'm trying to achieve a more hands-off (mouse-off) approach by using the deck navigation buttons. Every bit I only apply two decks I was going to map the deck1/3 button to open up the browser which will be almost full-screen and empty deck non beingness played. and then I can navigate and select (load) my next track, which would and then automatically return me to my oversized waveforms and primary info screen...

That'southward the plan.... :)


Posted Monday 10 May 21 @ viii:40 am
VDJ Rob G PRO Infinity Member since 2013

Another way; use the deck iii/ane button to eject track and open up browser.. motorcar close browser in one case track is loaded. (replicate on right deck controls)

I hope this makes sense!


Posted Monday x May 21 @ 8:58 am
Nicotux Home user Member since 2014

ok "open/close" browser is "browser_zoom"

"browser_zoom off" once loaded
and "browser_zoom on" after the unload before to select


Posted Mon 10 May 21 @ 11:02 am
PhantomDeejay PRO Infinity Senior staff Member since 2007

I don't meet any applied reason to unload a deck if you are going to load it once again right afterwards.
The load activity itself does exactly that. Unloads the current rails and loads the next. Then, in that location'due south no practical gain to unload the deck.

Also:
With buttons like DECK1/3 (and DECK2/4) that you can find on nearly controllers remember that remapping them is non really advised unless you lot know exactly what yous're doing.
Those buttons work on hardware (firmware) level as well too software level.
For instance, on several controllers those buttons are responsible for changing the hardware layer of the left/right deck. In other words they are responsible for whether the "play" button for instance on the left side of the controller will commencement deck 1 or deck 3.
Remapping the DECK1/iii button to whatsoever action, won't stop it from changing hardware layers since besides telling the software what'due south going on, it as well operates on hardware level that you cannot "remap"


Posted Wed 12 May 21 @ 6:52 am
VDJ Rob Yard PRO Infinity Member since 2013

Ah, not a good plan then, thanks for the warning! I would like to try and map the opening and endmost of the browser to the hardware though, but not sure how...

I take decided to utilize a skin button for manual opening/closing of browser every bit well, every bit my skin has developed the capabilities of standalone virtual dj since I have added play/pause etc. Its changing..... I promise I can keep the uncluttered design and so it looks skillful sat on the controller.
Time volition tell :D (I'll postal service a screenshot presently)


Posted Wed 12 May 21 @ 7:31 am
PhantomDeejay PRO Infinity Senior staff Member since 2007

I'm non certain what exactly you're after, but you can map your "full" browser console to employ "browser_isactive" as a visibility query
This way, every time you lot plough the browser encoder on your controller the skin will enter "full" browser automatically (and will exit on load, or subsequently five seconds of inactivity)

Also, if you have other conditions for your full browser, you can combine them

<panel grade="MyFullBrowser" visible="browser_isactive ? on : browser_zoom ? on : ..." />

Where you replace the three dots with whatever you lot're using now for transmission command


Posted Wednesday 12 May 21 @ 6:23 pm
VDJ Rob G PRO Infinity Member since 2013

That sounds exactly the sort of affair I'm after, thank you! At the moment I have got a toggle switch(es) changing panels. To exist able to enter browser and automatically close later on loading using the DDJ1000 is exactly what I want to achieve :)


Posted Thu 13 May 21 @ v:47 pm
djnice :o) PRO Infinity Member since 2014

unload did not reset the vector based songpos circles.
will only work similar "unload & load_skin"


Posted Sat 22 May 21 @ 12:03 pm
Nicotux Home user Member since 2014

yes, all goto unload songpos... practise not !!
but there are many side outcome by using load_skin
- browser position lost
- fx GUI hiding
- init script executed again
...
better force reset manually (waiting for the bug to be fix) with something like this
goto_start & play & repeat_start rpt 32ms 1 & unload

edit: information technology looks beingness skin dependent, those using visual are not affected, the one using slider are


Posted Sat 22 May 21 @ four:eighteen pm

Post reply

barnetttennesers.blogspot.com

Source: https://virtualdj.com/forums/241160/VirtualDJ_Skins/Script_for_unloading_deck_based_on_it_being__inactive_.html

Belum ada Komentar untuk "How to Play Script Again After Set Unactive"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel