Get File of Type / GetFileofType (internally is.workflow.actions.gettypeaction)

description

summary

Returns a particular file type from the input.

usage

GetFileofType "string"

arguments


type: Text (Docs)

Placeholder: "UTI" Default Value: "public.rtf" Allows Variables: true

Accepts a string or text with the text. Does not allow newlines.


source json (for developers)

{
	"ActionClass": "WFGetTypeAction",
	"Category": "Scripting",
	"Description": {
		"DescriptionSummary": "Returns a particular file type from the input."
	},
	"IconName": "Scripting.png",
	"Input": {
		"Multiple": true,
		"Required": true,
		"Types": [
			"WFContentItem"
		]
	},
	"IsDebugAction": true,
	"Name": "Get File of Type",
	"Output": {
		"Multiple": true,
		"OutputName": "File of Type",
		"Types": [
			"public.data"
		]
	},
	"Parameters": [
		{
			"AutocapitalizationType": "None",
			"Class": "WFTextInputParameter",
			"DefaultValue": "public.rtf",
			"DisableAutocorrection": true,
			"Key": "WFFileType",
			"KeyboardType": "URL",
			"Label": "Type",
			"Placeholder": "UTI"
		}
	],
	"Subcategory": "Content"
}