add text in clipboard to the fine name as a prefix
Automator's preset, 'Add Text to Finder Item Names' can't do this.
Any advise or hint would be appreciated.
MP, MBP, Mac OS X (10.6.3)
MP, MBP, Mac OS X (10.6.3)
There are a few alternatives, since the Rename Finder Items action doesn't accept variables.
This macosxhints article describes a way to trick existing actions into using variables, and
you can use third party actions (I have a Change Names of Finder Items action if you want
to try that - it can be downloaded here). A custom Run AppleScript action can also be used.
1) *Get Selected Finder Items* -- or whatever you are using to get the items to rename
2) *Set Value of Variable* { Variable: _Original Input_ } -- save the input for later
3) *Get Contents of Clipboard* (Ignore Input)
4) *Set Value of Variable* { Variable: Clipboard }
5) *Get Value of Variable* { Variable: _Original Input_ } (Ignore Input) -- get the original input back
6) *Change Names of Finder Items*
add text in clipboard to the fine name as a prefix