Filter Images / FilterImages (internally is.workflow.actions.filter.images
)
This action is not yet complete. Some arguments may be missing.
usage
FilterImages filter=:filter{...} sortby=("Width" | "Time Taken" | "Is a Screenshot" | "Media Type" | "Height" | "Location" | "Orientation" | "Date Taken" | "Duration" | "Camera Make" | "Is Hidden" | "Frame Rate" | "File Extension" | "Camera Model" | "Is Favorite" | "Creation Date" | "Album" | "Metadata Dictionary" | "File Size" | "Photo Type" | "Last Modified Date" | "Name" | "Random") order=("Oldest First" | "Newest First" | "Latest First" | "Smallest First" | "Biggest First" | "Ascending" | "Descending" | "Shortest First" | "Longest First" | "A to Z" | "Z to A") limit=(true | false | variable) getItems=number
arguments
filter: Filter (Docs)
Accepts a :filter{} of filters. This filter supports:
width(Not yet supported. Submit an Issue)timetaken(Not yet supported. Submit an Issue)- isascreenshot (Supported for is)
mediatype(Not yet supported. Submit an Issue)height(Not yet supported. Submit an Issue)location(Not yet supported. Submit an Issue)orientation(Not yet supported. Submit an Issue)datetaken(Not yet supported. Submit an Issue)duration(Not yet supported. Submit an Issue)cameramake(Not yet supported. Submit an Issue)- ishidden (Supported for is)
framerate(Not yet supported. Submit an Issue)fileextension(Not yet supported. Submit an Issue)cameramodel(Not yet supported. Submit an Issue)- isfavorite (Supported for is)
creationdate(Not yet supported. Submit an Issue)album(Not yet supported. Submit an Issue)metadatadictionary(Not yet supported. Submit an Issue)filesize(Not yet supported. Submit an Issue)phototype(Not yet supported. Submit an Issue)lastmodifieddate(Not yet supported. Submit an Issue)- name (Supported for is, isnot, contains, doesnotcontain, beginswith, endswith).
Example: :filter{name is testname}
sortby: Enumeration (Docs)
Allows Variables: true
Accepts a string or variable containing one of the options:
Width
Time Taken
Is a Screenshot
Media Type
Height
Location
Orientation
Date Taken
Duration
Camera Make
Is Hidden
Frame Rate
File Extension
Camera Model
Is Favorite
Creation Date
Album
Metadata Dictionary
File Size
Photo Type
Last Modified Date
Name
Random
order: Enumeration (Docs)
Allows Variables: true
Only enabled if: argument WFContentItemSortProperty != Random
Accepts a string or variable containing one of the options:
Oldest First
Newest First
Latest First
Smallest First
Biggest First
Ascending
Descending
Shortest First
Longest First
A to Z
Z to A
limit: Switch (Docs)
Allows Variables: true
Accepts a boolean or a variable.
getItems: Stepper Number (Docs)
Allows Variables: true
Only enabled if: argument WFSwitchParameter == true
Accepts a number
or variable
with a number.
source json (for developers)
{
"ActionClass": "WFContentItemFilterAction",
"Category": "Photos & Video",
"CreationDate": "2015-01-22T08:00:00.000Z",
"IconName": "Image.png",
"Input": {
"Types": [
"WFPhotoMediaContentItem",
"WFImageContentItem",
"WFAVAssetContentItem"
]
},
"Name": "Filter Images",
"Subcategory": "Images",
"WFContentItemClass": "WFImageContentItem",
"Parameters": [
{
"Class": "WFFilterParameter",
"Key": "WFContentItemFilter",
"Label": "Filter",
"ContentItemClass": "WFImageContentItem"
},
{
"Class": "WFEnumerationParameter",
"Key": "WFContentItemSortProperty",
"Label": "Sort by",
"Items": [
"Width",
"Time Taken",
"Is a Screenshot",
"Media Type",
"Height",
"Location",
"Orientation",
"Date Taken",
"Duration",
"Camera Make",
"Is Hidden",
"Frame Rate",
"File Extension",
"Camera Model",
"Is Favorite",
"Creation Date",
"Album",
"Metadata Dictionary",
"File Size",
"Photo Type",
"Last Modified Date",
"Name",
"Random"
]
},
{
"Class": "WFEnumerationParameter",
"Key": "WFContentItemSortOrder",
"Label": "Order",
"Items": [
"Oldest First",
"Newest First",
"Latest First",
"Smallest First",
"Biggest First",
"Ascending",
"Descending",
"Shortest First",
"Longest First",
"A to Z",
"Z to A"
],
"RequiredResources": [
{
"WFParameterKey": "WFContentItemSortProperty",
"WFParameterValues": [
"Random"
],
"WFResourceClass": "WFParameterRelationResource",
"WFParameterRelation": "!="
}
]
},
{
"Class": "WFSwitchParameter",
"Key": "WFContentItemLimitEnabled",
"Label": "Limit"
},
{
"Class": "WFStepperParameter",
"Key": "WFContentItemLimitNumber",
"Label": "Get Items",
"RequiredResources": [
{
"WFParameterKey": "WFSwitchParameter",
"WFParameterValues": [
true
],
"WFResourceClass": "WFParameterRelationResource"
}
]
}
]
}