Import to Lightroom / importtolightroom (internally is.workflow.actions.lightroom.import)

description

summary

Imports the photos passed as input into Lightroom

usage

importtolightroom applypreset=(true | false | variable) presetgroup=("B&W" | "Color" | "Creative" | "Curve" | "Grain" | "Sharpening" | "Vignetting") preset=("string" | variable)]

arguments


applypreset: Switch (Docs)

Allows Variables: true

Accepts a boolean or a variable.


presetgroup: Enumeration (Docs)

Default Value: "Color" Allows Variables: true

Only enabled if: argument applyPreset == true

Accepts a string or variable containing one of the options:

  • B&W
  • Color
  • Creative
  • Curve
  • Grain
  • Sharpening
  • Vignetting

preset: Lightroom Preset Picker (Docs)

Allows Variables: true

Only enabled if: argument applyPreset == true

Only enabled if: argument presetGroup ?? ``

	Accepts a string or variable containing the option. Check the shortcuts app for a list of available options. 

source json (for developers)

{
	"ActionClass": "WFImportToLightroomAction",
	"ActionKeywords": [],
	"AppIdentifier": "com.adobe.lrmobile",
	"Category": "Photos & Video",
	"Description": {
		"DescriptionSummary": "Imports the photos passed as input into Lightroom"
	},
	"Input": {
		"Multiple": true,
		"Required": true,
		"Types": [
			"WFPhotoMediaContentItem"
		]
	},
	"InputPassthrough": true,
	"IntentName": "THImportIntent",
	"Name": "Import to Lightroom",
	"Parameters": [
		{
			"Class": "WFSwitchParameter",
			"DefaultValue": false,
			"Key": "applyPreset",
			"Label": "Apply Preset"
		},
		{
			"AlwaysShowsButton": true,
			"Class": "WFEnumerationParameter",
			"DefaultValue": "Color",
			"DisallowedVariableTypes": [
				"Variable"
			],
			"DoNotLocalizeValues": true,
			"Items": [
				"B&W",
				"Color",
				"Creative",
				"Curve",
				"Grain",
				"Sharpening",
				"Vignetting"
			],
			"Key": "presetGroup",
			"Label": "Preset Group",
			"RequiredResources": [
				{
					"WFParameterKey": "applyPreset",
					"WFParameterValue": true,
					"WFResourceClass": "WFParameterRelationResource"
				}
			]
		},
		{
			"AlwaysShowsButton": true,
			"Class": "WFLightroomPresetPickerParameter",
			"DoNotLocalizeValues": true,
			"Key": "preset",
			"Label": "Preset",
			"PresetGroupKey": "presetGroup",
			"RequiredResources": [
				{
					"WFParameterKey": "applyPreset",
					"WFParameterValue": true,
					"WFResourceClass": "WFParameterRelationResource"
				},
				{
					"WFParameterKey": "presetGroup",
					"WFParameterRelation": "??",
					"WFResourceClass": "WFParameterRelationResource"
				}
			]
		}
	]
}