Set Name

action-icon-set-name.webp

Sets the name of the item passed as input.

Score
Type
InterActivity
Expertise
5
5/5
Type
InterActivity
Expertise

Action Information

Parameters

Set name of [Input] to [Name]

Input

Anything

Result

Anything

Details

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

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.

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.

Works Well With

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

Shortcuts Using This

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


Get more out of Shortcuts – become a member.