Is it possible to rename a file without pressing f2 by pasting from clipboard?
Ex: Let's say I have the phrase "hello world" in the clipboard, and I want to rename a file with this phrase, normally I'd have to select the file and press f2 then ctrl+v, I would like to rename the file without pressing f2, only using a keyboard shortcut.
Rename a file wihtout pressing f2
Re: Rename a file wihtout pressing f2
Menu - User - Manage Commands...
Category: Run Script
Button: New...
Caption: Rename with clipboard content (or whatever you want to call it)
Script:
Button: Assign Keyboard Shortcut...
Category: Run Script
Button: New...
Caption: Rename with clipboard content (or whatever you want to call it)
Script:
renameitem(<clp>);
Button: Assign Keyboard Shortcut...
One of my scripts helped you out? Please donate via Paypal
Re: Rename a file wihtout pressing f2
It works. Thank you very much!
Re: Rename a file wihtout pressing f2
When I copy a name from a file that has a dot "." in the name it deletes the extension of the file that I paste the name in.
Example: "Read .me this.txt" becomes "Read .me this"
Example: "Read .me this.txt" becomes "Read .me this"
Re: Rename a file wihtout pressing f2
Then use
renameitem(<clp>, , 1);
?One of my scripts helped you out? Please donate via Paypal
Re: Rename a file wihtout pressing f2
It worked, thanks!