vsco/keys

My Code is ALMOST Perfect, But I Need Help

Opened this issue · 3 comments

The code I've made so far is working and I'm really happy. There are just a few changes to the VSCO Keys layout I don't know how to implement.

  1. I want to map the Spot Removal Tool to the letter J. imtxCode for J is 38
  2. I want the old Copy, Paste, and Paste from Previous, which worked with these keys respectively , . /
  3. I would LOVE CMD 1, CMD 2, etc to apply presets.

2&3 were standard VSCO operations, so I assume the code is in the toolkitlistlr3.json - I just need to find it, copy it, and know where to paste it into my code.

Here's my code, which works perfectly:

{
"name": "My Fifth Try",
"description": "Test file",
"author": "test user",
"uuid": "Custom",
"lrVersion": "4",
"modeKey": "53",
"keys":
[

    { "mod":"0", "key":"12", "adj" : {"Tint":"-1"} },
{ "mod":"0", "key":"13", "adj" : {"Tint":"1"} },
{ "mod":"0", "key":"5", "adj" : {"Highlights2012":"-10"} },
{ "mod":"0", "key":"4", "adj" : {"Highlights2012":"10"} },
{ "mod":"0", "key":"11", "adj" : {"Whites2012":"-10"} },
{ "mod":"0", "key":"45", "adj" : {"Whites2012":"10"} },
{ "mod":"0", "key":"8", "adj" : {"Shadows2012":"-5"} },
{ "mod":"0", "key":"9", "adj" : {"Shadows2012":"5"} },
{ "mod":"0", "key":"6", "adj" : {"Blacks2012":"-5"} },
{ "mod":"0", "key":"7", "adj" : {"Blacks2012":"5"} },
{ "mod":"0", "key":"0", "adj" : {"Contrast2012":"-5"} },
{ "mod":"0", "key":"1", "adj" : {"Contrast2012":"5"} },
{ "mod":"0", "key":"32", "adj" : {"Vibrance":"-2"} },
{ "mod":"0", "key":"34", "adj" : {"Vibrance":"2"} },
{ "mod":"0", "key":"17", "adj" : {"Saturation":"-2"} },
{ "mod":"0", "key":"16", "adj" : {"Saturation":"2"} },
{ "mod":"0", "key":"14", "adj" : {"Temperature":"-100"} },
{ "mod":"0", "key":"15", "adj" : {"Temperature":"100"} },
{ "mod":"0", "key":"17", "adj" : {"Saturation":"-2"} },
    { "mod":"0", "key":"16", "adj" : {"Saturation":"2"} },
    { "mod":"0", "key":"2", "adj" : {"Exposure2012":"-0.10"} },
{ "mod":"0", "key":"3", "adj" : {"Exposure2012":"0.10"} }
]

}

I tried

{ "mod":"0", "key":"38", "adj" : {"Spot Removal Tool"} },

But that didn't work...

The original code is like this:

{
"name": "Develop: Tools",
"adjustments" : [
{"key": "15", "label": "Crop Tool"},
{"key": "12", "label": "Spot Removal Tool"},
{"key": "46", "label": "Graduated Filter Tool"},
{"key": "40", "label": "Brush Tool"},
{"key": "13", "label": "White balance picker"},
{"mod": "13", "key": "45", "label": "Target Adjustment: None"},
{"mod": "13", "key": "17", "label": "Tone Curve"},
{"mod": "13", "key": "4", "label": "Hue"},
{"mod": "13", "key": "1", "label": "Saturation"},
{"mod": "13", "key": "37", "label": "Luminance"},
{"mod": "13", "key": "5", "label": "Black & White Mix"}
]
},

And I've tried doing this:

{
"name": "My Fifth Try",
"description": "Test file",
"author": "test user",
"uuid": "Custom",
"lrVersion": "4",
"modeKey": "53",
"keys":
[

    	{ "mod":"0", "key":"12", "adj" : {"Tint":"-1"} },
{ "mod":"0", "key":"13", "adj" : {"Tint":"1"} },
{ "mod":"0", "key":"5", "adj" : {"Highlights2012":"-10"} },
{ "mod":"0", "key":"4", "adj" : {"Highlights2012":"10"} },
{ "mod":"0", "key":"11", "adj" : {"Whites2012":"-10"} },
{ "mod":"0", "key":"45", "adj" : {"Whites2012":"10"} },
{ "mod":"0", "key":"8", "adj" : {"Shadows2012":"-5"} },
{ "mod":"0", "key":"9", "adj" : {"Shadows2012":"5"} },
{ "mod":"0", "key":"6", "adj" : {"Blacks2012":"-5"} },
{ "mod":"0", "key":"7", "adj" : {"Blacks2012":"5"} },
{ "mod":"0", "key":"0", "adj" : {"Contrast2012":"-5"} },
{ "mod":"0", "key":"1", "adj" : {"Contrast2012":"5"} },
{ "mod":"0", "key":"32", "adj" : {"Vibrance":"-2"} },
{ "mod":"0", "key":"34", "adj" : {"Vibrance":"2"} },
{ "mod":"0", "key":"17", "adj" : {"Saturation":"-2"} },
{ "mod":"0", "key":"16", "adj" : {"Saturation":"2"} },
{ "mod":"0", "key":"14", "adj" : {"Temperature":"-100"} },
{ "mod":"0", "key":"15", "adj" : {"Temperature":"100"} },
{ "mod":"0", "key":"17", "adj" : {"Saturation":"-2"} },
    	{ "mod":"0", "key":"16", "adj" : {"Saturation":"2"} },
    	{ "mod":"0", "key":"2", "adj" : {"Exposure2012":"-0.10"} },
{ "mod":"0", "key":"3", "adj" : {"Exposure2012":"0.10"} }
]

}
{
"name": "Develop: Tools",
"adjustments" : [
{"key": "12", "label": "Spot Removal Tool"},

		]
	}

Hi,
fo you have solved? How did you do?

Hi,
fo you have solved? How did you do?

That's as far as I got. Never got anything else to work :(