Jump to content


Photo

Change file extension shelltoy (32 / 64-bit)


  • Please log in to reply
15 replies to this topic

#1 T800

T800
  • Members
  • 106 posts

Posted 14 April 2008 - 09:56 PM

Here is another shelltoy I've made:

Change file extensions in just two steps:
1. select one or more files
2. enter new extension

Posted Image

Featuring:
-smart renaming (just the way you need it)
-seamless integration into windows explorer (just as a regular file rename)
-easy undo (ctrl-z)

The idea was born from the way that Vista automatically selects only first part of file.ext pair if extensions are not hidden, something that XP is missing.
Now you can hide extensions and change them in the most easy way.

Installer (32 / 64-bit) + source code:
Download at project homepage

Current version: 2.8.6.0
If anyone needs it, previous version (2.8.2.0) is here.

#2 polyethene

polyethene

    Administrator

  • Administrators
  • 5473 posts

Posted 25 October 2008 - 02:05 PM

I set explorer to show all file extensions, but this looks good.

#3 BoffinbraiN

BoffinbraiN
  • Members
  • 114 posts

Posted 26 November 2009 - 09:49 PM

I see you're previewing the context menu in Windows Vista or 7! Still, if yours supports multiple files, I can see that will be useful for some people! The file renaming tools thread also comes to mind.

#4 n-l-i-d

n-l-i-d
  • Guests

Posted 28 November 2009 - 12:13 PM

I'm no programmer, but I've been looking for ages for a custom shell-dll to create a customizable context menu entry with custom sub-menus. Ideally it would be settable/controllable with AutoHotkey.

One can add a single entry without a shell-dll, but a single sub-menu would be just great.

- Option to set the icon/title of the main-menu
- Options to set the titles/icons of the sub-menus
- Limitless deep branching (sub-sub-menus)

Maybe by sending/retrieving messages to the dll with ahk? Something like: send list of selected files and the menu entry selected to AHK, send menu definitions/changes to dll.

Would something like this be doable?

8)

#5 T800

T800
  • Members
  • 106 posts

Posted 04 January 2010 - 09:42 PM

I think this is what you might be looking for, it's called "Fast Explorer Context Menu Extension DLL".
Looks like freeware, I think some programs actually use it, I vaguely remember that's how I stumbled upon it.
See homepage:
<!-- m -->http://thesoftpro.tr...m/downloads/fe/<!-- m -->
or here (more screenshots)
<!-- m -->http://www.softpedia... ... -DLL.shtml<!-- m -->

#6 Guests

  • Guests

Posted 05 January 2010 - 12:19 AM

...Vista automatically selects only first part of file.ext...something that XP is missing.

My...
Rename-Manager.ahk...gives XP this functionality...

#7 Guests

  • Guests

Posted 26 January 2010 - 12:07 PM

...Vista automatically selects only first part of file.ext...something that XP is missing.

My...
Rename-Manager.ahk...gives XP this functionality...

Thank you very much, but is there a way to make a script which will do this:

F2 (1x) = select file name
F2 (2x) = select extension
F2 (3x) = select both, file name and extension?

#8 Guests

  • Guests

Posted 27 January 2010 - 05:19 AM

...is there a way to make a script which will do this...

...I've thought about adding F4 to select all...but I could make an option for what repeated F2 will do...you don't like the "Cycle highlight thru filename levels" behavior?

#9 Guests

  • Guests

Posted 27 January 2010 - 10:39 AM

...is there a way to make a script which will do this...

...I've thought about adding F4 to select all...but I could make an option for what repeated F2 will do...you don't like the "Cycle highlight thru filename levels" behavior?

Sorry I didn't get it. Your script is doing this on my XP:
F2 (1x) = selects file name
F2 (2x) = selects both, file name and extension

And I thought about this:
F2 (1x) = select file name
F2 (2x) = select extension
F2 (3x) = select both, file name and extension

Anyway my wish is fulfilled with powerpro script which does exactly that so thank you for replying.

#10 DIY

DIY
  • Guests

Posted 27 January 2010 - 10:43 AM

is there a way to make a script which will do this:

F2 (1x) = select file name
F2 (2x) = select extension
F2 (3x) = select both, file name and extension?

Yes, I should think so. :wink:

This script might be extended to provide the functionality you described.

#11 Guests

  • Guests

Posted 27 January 2010 - 10:56 AM

is there a way to make a script which will do this:

F2 (1x) = select file name
F2 (2x) = select extension
F2 (3x) = select both, file name and extension?

Yes, I should think so. :wink:

This script might be extended to provide the functionality you described.

Mentioned script is interesting because it excludes folders, but it doesn't do the "three-way toggle" (only "one-way toggle").
Rename-Manager.ahk does it "two-way toggle" but includes folders, so ...

#12 Guests

  • Guests

Posted 27 January 2010 - 09:19 PM

Anyway my wish is fulfilled with powerpro script...

...powerpro script?...I could never hope to edit my script that fast (you posted & already found an alternate script!), but even if you've found something else, I do plan on adding what you mention to my script...

This script...

...I didn't test it but Smurth's script is extremely basic, mine has all the code it has to handle many cases...& mine is extendable too...which I will do soon...

Rename-Manager.ahk does it "two-way toggle"...

...no, it "cycles thru filename levels"...plz create files with the following names & test Rename-Manager.ahk on them...
[*:ajw6du35]Test-File.txt
[*:ajw6du35]Test-File.png.txt
[*:ajw6du35]Test-File.ext.png.txt...press F2 4-5 times, then do F3...some files have multiple extensions, so it "cycles thru filename levels"...& even tho I plan on adding the F2 behavior you want, you do know that pressing F2, then F3 will always select the extension right?...is F2, F3 that much different than F2, F2?...but remember to check back in a few days for a new Rename-Manager.ahk...

...but includes folders...

...is including folders a bad thing? Folders can have extensions (even tho it does nothing for them)...but it couldn't be hard for me to add a Setting for it...

#13 Guests

  • Guests

Posted 27 January 2010 - 10:29 PM

You are right, it really cycles throw filename levels and I didn't know about F3 (I've should read the script first before compiling). Sorry, my bad. I'm gonna check the new version. Thank you!

#14 Guests

  • Guests

Posted 29 January 2010 - 12:19 AM

New version...
Rename-Manager.ahk

#15 Guests

  • Guests

Posted 29 January 2010 - 10:16 AM

New version...
Rename-Manager.ahk

It works, thanks again. If you ever implement an option to exclude folders please mention that here.