Sets the name of the item passed as input.

Score
Type
InterActivity
Expertise
5/5
Type
InterActivity
Expertise

Action Information

Parameters

Set name of [Input] to [Name]

Notes

Don’t Include File Extension
By default, Shortcuts will automatically include a file extension if one isn’t specified. Turn this on if you want to create a file with no extension.

Input

Anything

Result

Anything

Comments

Can be used to change the file type of an item – rename to .csv and your file will convert to a CSV, which will work properly assuming everything is formatted properly

Try using after Combine Text > Custom, set to a comma, to make comma-separate values before renaming.

Works just like using Rename on macOS and changing the file type in the name.”.

This seemingly-simple action is very powerful because it can change file types.

If you’re looking to make spreadsheets, use this to create your CSVs.

Shortcuts Using This

Screencap
Takes a screenshot, reformat the name to the style used on macOS, then saves it to /Shortcuts/Screenshots/ in iCloud Drive.
Take window screenshot
Takes a full window screenshot and leaves out the background.

Works Well With

Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
Change Case
Changes the case of the text passed into the action to UPPERCASE, lowercase, or Title Case.

Details

Type
Interactivity
Expertise Needed
Matthew's Score
5/5
Category
Date Added to Shortcuts
11/12/2014
Identifier
is.workflow.actions.setitemname


Get more out of Shortcuts – become a member.