DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Shortkey to edit the selected file name in a certain way....  (Read 7,614 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Shortkey to edit the selected file name in a certain way....

I usually have to rename audios and photos in a certain way....
I need to do individually because the subject is different.

This is my problem :

suppose the name file of the photo is :
DSCF0859.JPG
I need to edit the way quickest with the cursor just at the end of the original name. Add the comment and enter.
DSCF0859.car.JPG

So I need a soft able to do this with a definable shortkey.
If the soft exists I try first here . if don't exist I'll try in the snacks section.


Best Regards

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Shortkey to edit the selected file name in a certain way....
« Reply #1 on: August 30, 2012, 05:59 PM »
Do you want the hotkey to [1] actually rename the file, or, [2] just to get it in edit mode with the cursor in the correct place?

For [2] -
a) Windows 7 / Explorer
b) (better yet) Directory Opus
c) XYPlorer
d) Probably any other decent file manager out there (?)
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Shortkey to edit the selected file name in a certain way....
« Reply #2 on: August 30, 2012, 06:25 PM »
I am under windows xp for the several years, so I would like a more simple thing that Directory Opus.

Option [1] I think is best solution if I can enter the substring in a window after the hotkey, and then enter and voilá

Can you do ?
:-[

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Shortkey to edit the selected file name in a certain way....
« Reply #3 on: August 30, 2012, 06:53 PM »
If you just want a very simple temporary hotkey, you could do something like this in AutoHotkey:

Code: (autohotkey)
F6:: ; Highlight a file in Windows Explorer and press F6 (or change F6 to whatever key you want).
{
    ; This is set for files with a three-letter extension.
    ; Adjust the number in {Left 4} as necessary.
    SendInput, {F2}{End}{Left 4}
}
Return

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Shortkey to edit the selected file name in a certain way....
« Reply #4 on: August 30, 2012, 07:46 PM »
If you just want a very simple temporary hotkey, you could do something like this in AutoHotkey:

Code: (autohotkey)
F6:: ; Highlight a file in Windows Explorer and press F6 (or change F6 to whatever key you want).
{
    ; This is set for files with a three-letter extension.
    ; Adjust the number in {Left 4} as necessary.
    SendInput, {F2}{End}{Left 4}
}
Return




Runing to tryyyyy . i will comment
:-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Shortkey to edit the selected file name in a certain way....
« Reply #5 on: August 30, 2012, 07:49 PM »
I can't believe it. with only a pair of lines of code. Magnificenttttt !!!!!!!!!!!!!!!!!!!!

Best Regards

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Shortkey to edit the selected file name in a certain way....
« Reply #6 on: August 30, 2012, 08:13 PM »
Just for discussion, because Skwire is the resident minor deity, from the type of change you wanted to post, one "low tech" way to do it is to "hide extensions". Then when you go to change the file name, where it's all selected, hit Right Arrow and it drills over to the right side of the file name, at which point you type your new characters and hit enter.

One of my first "announce your software" I posted a while ago was a "widget-thingie" for XP that 1-click toggled extensions on and off because I did that all day long.
Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Shortkey to edit the selected file name in a certain way....
« Reply #7 on: August 30, 2012, 08:14 PM »
Heh P.S. Contro you made me Ad-Block your kissing smileys, they were about to give me a headache/seizure.  :P
Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Shortkey to edit the selected file name in a certain way....
« Reply #8 on: August 30, 2012, 09:10 PM »
I am under windows xp for the several years, so I would like a more simple thing that Directory Opus.

I cant understand though how someone like you is satisfied with Windows Explorer when there are so many good replacement file managers (including many free ones).
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Shortkey to edit the selected file name in a certain way....
« Reply #9 on: August 30, 2012, 09:13 PM »
I am under windows xp for the several years, so I would like a more simple thing that Directory Opus.

I cant understand though how someone like you is satisfied with Windows Explorer when there are so many good replacement file managers (including many free ones).

Because some wonderful addons i am very used. i don't want innecesary changes.

Original address: https://www.donationcoder.com/forum/index.php?topic=32097.0