Preset,Save and recall

17 posts / 0 new
Last post
Offline

Location

dubai
United Arab Emirates
Joined: 09/09/2013
Posts: 93
Preset,Save and recall

hi guy,

dose anyone knows if there is any function or command in justmacro ,to save ATEM setting(keys,Aux,supersource,..) and recall it?
or i have to read all the setting one by one and save it.

Offline

Location

Frankfurt,
Germany
Joined: 20/08/2014
Posts: 20
I'm also very interested in

I'm also very interested in this matter. Because I have to create a lot of new supersource layouts/presets during a live show it would be great to handle them with xkeys instead of using the JM menue.
Great would be the function to have a "record-key" to save a preset - if you are using this record-key together with an other key it saves the preset and assign the preset automatically to the pressed key.

Is there any chance to create such a function?

Offline

Location

Heesch,
Netherlands
Joined: 19/11/2014
Posts: 42
That's a bit what I wanted as

That's a bit what I wanted as well ghazizadeh. You remember my request? Create a snapshot of main/preview and the aux sources.

Offline

Location

dubai
United Arab Emirates
Joined: 09/09/2013
Posts: 93
preset

i started writing the scripts for save and recall the setting ,will share the progress here,

Offline

Location

dubai
United Arab Emirates
Joined: 09/09/2013
Posts: 93
it's done

finally i done,
i have 3 preset bank and each bank has 8 preset
so in total it is 24 preset
i'm too tired to explain how to use it,please check yourself and if anyone didn't understand it i will post hot to use it on Saturday.

here is the code for save and load function,
====================================
i removed the code,because it was long post
====================================
 

Offline

Location

dubai
United Arab Emirates
Joined: 09/09/2013
Posts: 93
How To Do it

here is the complete documentation on how i did it,

it will save and recall AUX,Keys,DSKs,SuperSRCs
i have assigned 3+8 button ony my xkey-128 

P_Bank1,P_Bank2,P_Bank3
Preset1 ,Preset2 ,Preset3 ,Preset4 ,Preset5 ,Preset6 ,Preset7 ,Preset8

also you need ATEMShift Key ,

to save the setting you have to hold down Preset Bank Key + Preset Key+ATEMShift Key
to Recall the Preset : Preset Bank Key + Preset key

example :
P_Bank1+Preset2+Atemshift key = will save the current setting to bank 1,preset 2

P_bank2+Preset3 = recall the setting from bank2 preset 3

in this link you will find screen shot of all button and scripts

http://tinyurl.com/m2qddnb

hope it's useful for you guys,
i'm planing to add few more option like saving media pool and mediaplayer ,casparCG layers,...

Offline

Location

Heesch,
Netherlands
Joined: 19/11/2014
Posts: 42
Thanks for sharing. I'm gona

Thanks for sharing. I'm gona check it next week. My rack is in a project right now. I will reply my experience.

Offline

Location

Heesch,
Netherlands
Joined: 19/11/2014
Posts: 42
Between my events todays I

Between my events todays I checked your zipped files. As I'm still pretty new with Lua, it's still a bit hard to understand hoe to use it.

I see:

The P_bank and Preset .jpg's If I understand well, I have to enter these under the buttons of the panel, and change the numbers to the corresponding number of the key I want to use?

Then the screenshots of the handlers, monitoring and define are not very clear for me. Do I have to create single scripts for all of them?

And the handler script in the .txt I have to paste in a new script I think?

Thanks for your help!

Offline

Location

dubai
United Arab Emirates
Joined: 09/09/2013
Posts: 93
preset
maantje76 wrote:

Between my events todays I checked your zipped files. As I'm still pretty new with Lua, it's still a bit hard to understand hoe to use it.

I see:

The P_bank and Preset .jpg's If I understand well, I have to enter these under the buttons of the panel, and change the numbers to the corresponding number of the key I want to use?

Then the screenshots of the handlers, monitoring and define are not very clear for me. Do I have to create single scripts for all of them?

And the handler script in the .txt I have to paste in a new script I think?

Thanks for your help!

my scripts has been written base on standard xkey layout from john,
which xkey panel you are using,
let me know which panel and which button you want to use and i will modify it base on your panel,
do you using any monitoring scripts?

Offline

Location

Heesch,
Netherlands
Joined: 19/11/2014
Posts: 42
preset
ghazizadeh wrote:

my scripts has been written base on standard xkey layout from john,
which xkey panel you are using,
let me know which panel and which button you want to use and i will modify it base on your panel,
do you using any monitoring scripts?

I will sent you an email trough the forum. That's probably a bit easier.

Thanks.

Offline

Location

Heesch,
Netherlands
Joined: 19/11/2014
Posts: 42
preset
maantje76 wrote:

I will sent you an email trough the forum. That's probably a bit easier.

Thanks.

Message sent...

Offline

Location

Balegem,
Belgium
Joined: 24/06/2014
Posts: 8
Hi,   I am looking to write

Hi,

 

I am looking to write some functions of my own.

How do you implement them?

If I write a new script with therein a function ( for example SetLed(param) )

and I call this function from a buttondown event I get an error ( nil value).

Any ideas?

JohnBengston's picture
Offline

Location

London
United Kingdom
Joined: 14/01/2012
Posts: 2145
you ned to include your

you ned to include your script in the Button Down action by adding a $$USES line at the top

 

-- $$USES "MyLEDFunctionsInAScript"

SetLed( lvParam )

Offline

Location

Balegem,
Belgium
Joined: 24/06/2014
Posts: 8
Thanks for the reply

Thanks for the reply John,

 

I figured that one out, but still it doesnt work.

What I try now is really simple, to test the possibilities. so, I made a script called Ledscript.

I include it in the button down

--§§uses "Ledscript"

SetLed(11);

Ledscript has one function:

function SetLed(parameter)

 XKeysSetButtonRedLEDState(1,11,"True")

end;

 

So I even dont use the parameter. I just make the red light on the 11 key go on....

 

Sorry to be so stupid with these things, thanks for taking the time to help

Offline

Location

Balegem,
Belgium
Joined: 24/06/2014
Posts: 8
this is the error: attempt to

this is the error: attempt to call global 'SetLed' (a nil value)

JohnBengston's picture
Offline

Location

London
United Kingdom
Joined: 14/01/2012
Posts: 2145
there must be a space after

there must be a space after -- and before $$ (dollar-dollar) and the word USES must be in uppercase.

Offline

Location

Balegem,
Belgium
Joined: 24/06/2014
Posts: 8
I have send you an

I have send you an email.

Thanks again for the time