Se Connecter:     


Forum: General Discussion

Sujet: Keyboard Shortcut - Page: 2

Cette partie de ce topic est ancien et peut contenir des informations obselètes ou incorrectes

I will play with this in a few hours, but I don't understand why you say "...there is two there, did you try them both?"

I only have one time where it says to shut off any active effect... the first part. After that, I am simply selecting a new effect and activating.

Are you saying that starting a new effect automatically stops all other running effects? Because it did not use to be that way... it used to be possible to have several clipbanks running at once, which made my system crash in version 5.
 

I just meant that there was two ways i wrote "active off" that makes 3 in total

video_fx_active off
video_fx active off
video_fx off

I have never really played around with mapping video effects so I am not sure what if any actually works, like I said earlier i have never really used clipbank, but when I have tried briefly or figure out how to map video effects in the past for other users, I found there was no way to activate an effect without it selected, and when you selected another effect the one you were using automatically stopped, clipbank may be setup differently to that, but try the last script I wrote, It makes sense to me and should solve your problem.
 

OK this is getting frustrating. I have spent a couple of hours playing with many variations of this script, and I cannot get my desired result. I can get good results as long as I stay in one clip bank. But it gets confusing every time I try to switch to a different clipbank.

Synthetic - I tiried your script, but the problem is that it leaves the previous clipbank running simultaneously. So I inserted the command video_effect_clear as follows:

video_fx_select "CB Keyboard F1-F12" ? video_fx_button 1 : video_fx_clear & video_fx_select "CB Keyboard F1-F12" & video_fx_button 1 & video_fx

Then it sometimes works, but any further key selection has no effect after that.

What I want is simply a script that says:
When I select this clip, disable all previously running clips (regardless of which clipbank is selected and active) and make the new selection the ONLY active clip.

I will keep playing. This is a very powerful function that can be useful by many non-DJ types as well if we can nail it down.


 

OK the problem with turning all video fx off is you lose firetext from the screen and have to go back in and activate which loses all the texts on the screen so far.

If you want to play a video why not just set up a key to load the video and play it on a spare deck and swap the video control to that deck?
 

hold on, in the first post it was stated that this was working on on v5 with the script you used. the same script will work on v7 surely...so why make things harder than they are? just use the same script.

setting out to simplify it is just making things more complicated.
 

As somebody said earlier, the script language has changed since version 5. Also, I did try to enter the old script and could not get anything.

There's something else going on... I just realized that none of the clipbanks that I copied over from my version 5 intstallation are playing. I have to re-install them by copying the basic clipbank DLL and renaming it, and re-loading it.

In any case, there is some kind of quirkiness with the video_fx_clear command. It only works if the clipbank that is actually playing is the one selected. Then it clears all active clipbanks. But if you are playing clipbank A, and then select clipbank B, then do the video_fx_clear command, nothing happens.
 

Are you using 12 different copies of the plugin that you have renamed yourself? or just one instance of the plugin but the clips run over each other when switching, I will try and recreate your problem and fix it, but so far I'm not sure how you are using it.

If it is 12 copies of the plugin can you post the names of them..
 

Actually, 16 copies of the original clipbank DLL which have been renamed as:

CB Abstract 1
CB Abstract 2
CB Abstract 3
CB Baseball
CB Chroma Key Dance Floor
CB Chroma Key Events
CB Dance Floor
CB Events
CB Holidays
CB Keyboard 0-9
CB Keyboard F1-F12
CB Musicians
CB Ocean
CB Shadow Dancers
CB Surfing
CB World Wonders

I have only been experimenting with both the keyboard clipbanks for now until I get it working. Thescript I am having the most luck with is:

video_fx_select "CB Keyboard F1-F12" ? video_fx_button 1 & video_fx : video_fx_active off & video_fx_select "CB Keyboard F1-F12" & video_fx_button 1 & video_fx

The problem I keep having is when I create a new key that switches clipbanks, it works once, and then stops responding to shortcuts alltogether.


 

Alright It's going to be a long one... LOL

this is for the first clipbank, but you will need to do it for all 16 of your clipbanks, effectively you are enabling one of them but shutting off all other instances with each press.


video_fx "CB Abstract 2" active off & video_fx "CB Abstract 3" active off & video_fx "CB Baseball" active off & video_fx "CB Chroma Key Dance Floor" active off & video_fx "Chroma Key Events" active off & video_fx "Dance Floor" active off & video_fx "CB Events" active off & video_fx "CB Holidays" active off & video_fx "CB Keyboard 0-9" active off & video_fx "CB Keyboard F1-F12" active off & video_fx "CB Musicians" active off & video_fx "CB Ocean" active off & video_fx "CB Shadow Dancers" active off & video_fx "CB Surfing" active off & video_fx "CB World Wonders" active off & video_fx "CB Abstract 1" active on

You may need to play around with how to switch off the plugins as I still think they need to be on screen to switch them off, if that is the case use something like:

video_fx_select "CB Abstract 2" & video_fx active off
video_fx_select "CB Abstract 1" & video_fx active on

If I made any mistakes sorry, but it is just to give you an idea of how it works
 

Eric Sands wrote :
As somebody said earlier, the script language has changed since version 5. Also, I did try to enter the old script and could not get anything..


ah, must have had a brain fart, didnt spot that..sorry.
 

OK I get the idea. Thanks so much for your help Synthetic. I will play with this again this afternoon. One thing I forgot to mention is that although I have these 16 clipbanks, I am only assigning keyboard shortcuts to 5 of them:

Abstract 1
Abstract 2
Abstract 3
Keyboard 0-9
Keyboard F1-F12

So that should reduce all the active offs that I will need.
 

OK well, I am having some luck with this approach. The active off comand does not work, but the video_fx_clear seems to work. So hear is a typical script I am using if I want to start the 2nd clip in the CB ABSTRACT 1 clipbank::

video_fx_select "CB Abstract 2" & video_fx_clear & video_fx_select "CB Abstract 3" & video_fx_clear & video_fx_select "CB Keyboard 0-9" & video_fx_clear & video_fx_select "CB Keyboard F1-F12" & video_fx_clear & video_fx_select "CB Abstract 1" & video_fx_button 2 & video_fx

This script essentially selects and disables all clipbanks except the desired one, and then activates the 2nd clip. This does work for one time, but then when I select any other similiar shortcut, nothing happens. I must use the mouse to de-activate the clip and start over.
 

If your just trying to select different windows with the same clipbank dll use this,

video_fx_select "ClipBank" & video_fx_button 1

video_fx_select "ClipBank" & video_fx_button 2


and to trun it off and on you use

video_fx_select "ClipBank" & video_fx

of course you'd use the name of your files.

Hope that helps
Huey
 

Yes that works fine as long as you stay within the same clipbank. But the problem arises when you try to assign a different clip bank. Either it stops responding or its leaves the previous clip running. Try it yourself you will see. Just create 2 or 3 clipbanks and try assigning shortcuts to go from 1 clip bank to another.
 

I don't use clipbank anymore, I use Essential Flash. I have a lot more control as far as transparency and size plus placement on the screen. The 1 thing I wish I could do was use a shortcut to pick which window is being played. But I'm sure its in the works. Anyways theres how you choose the clips with a button.

Good Luck
Huey
 

this is probably a stupid question, but are you adjusting the code for each clipbank?

You have to finish on the desired clipbank you want playing..

actually I know why...

You need to make it a little longer and have a variable for if a particular clipbank is playing...

video_fx "Abstract 2" active ? video_fx_select "Abstract 2" & video_fx : nothing & video_fx "Abstract 3" active ? video_fx_select "Abstract 3" & video_fx : nothing & video_fx "Keyboard 0-9" active ? video_fx_select "Keyboard 0-9" & video_fx : nothing & video_fx "Keyboard F1-F12" active ? video_fx_select "Keyboard F1-F12" & video_fx : nothing & video_fx_select "Abstract 1" & video_fx

with this it is asking if a clipbank is playing, if so video_fx (turn it off), if not do nothing (dont turn it on), hopefully that will fix your issue.. but again not sure if "active" is the correct terminology for it, so have a play around with naming that part.. It may even work with 'video_fx_select "CB name"'
 

Yes - I am adjusting code for each clipbank. I will play with this again, but what we need is a command that says "de-activate this effect whether it is playing or not". I would think that video_fx_active off would do this, but it does not. If that command worked, we could just start every script variation for every shortcut with that command.
 

the one in the above post should do it, as it is asking if it is on first then if true it will turn it off, I think that is the best way to do it as there is no specific verb to turn off a video effect, only "video_fx" which toggles between on and off
 

But then again how many people are running 16 versions of clipbank, lol! I hear what your saying though.

Good Luck
Huey
 

I tried that script, both with and without the ACTIVE word, and I get inconsistent results with multiple banks left on. It makes sense... it should work.
 

75%