topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Vista style filename editing in XP  (Read 33061 times)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Vista style filename editing in XP
« on: September 24, 2008, 08:30 PM »
 :) One of the improvements in Vista is that it doesn't select the file type when you edit a filename.
Here's a quick hack to have this behaviour in XP, too!

It's called TheEnd!

TheEnd - Unselect the file type when renaming files in XP.

Features:

- Press F2 to rename a file.
- Or click a filename slowly two times.



You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel
« Last Edit: October 08, 2008, 09:52 PM by skrommel »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #1 on: September 24, 2008, 09:41 PM »
nice script Skrommel. this will come in handy for those who have un-checked the "Hide extensions" option. :up:

sc_08-09-25_001.png

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #2 on: September 25, 2008, 03:13 AM »
 :-[ Thanks for clarifying things, lanux128!

Skrommel

yksyks

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 476
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #3 on: September 25, 2008, 05:29 AM »
Similar results for people too lazy for AHK (like me) can be achieved using QTTabBar, if I remember correctly, and even more advanced with Pitaschio, where pressing F2 cycles between filename, extension and full filename with extension. The latter also works in open/save dialogs.

dsp

  • Participant
  • Joined in 2008
  • *
  • Posts: 9
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #4 on: October 08, 2008, 08:50 PM »
Any chance of a compiled executable pls. Thanks.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #5 on: October 08, 2008, 09:52 PM »
 :) Compiled and posted TheEnd above.

Skrommel

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #6 on: October 09, 2008, 01:47 AM »
I sincerely hope there's no DonationCoder members who hide file extensions for known types :huh:

Personally I use xplorer2 which does this by default - if I wasn't, I'd buy you a cup of beer, skrommel :)
- carpe noctem

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #7 on: October 09, 2008, 04:50 AM »
I sincerely hope there's no DonationCoder members who hide file extensions for known types

i actually leave the 'Hide extensions' on because i hardly use Explorer, using Altap Salamander and Total Commander instead whose behaviours are just like xplorer2. :)

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #8 on: October 09, 2008, 04:52 AM »
I sincerely hope there's no DonationCoder members who hide file extensions for known types

i actually leave the 'Hide extensions' on because i hardly use Explorer, using Altap Salamander and Total Commander instead whose behaviours are just like xplorer2. :)
Well, that qualifies as "showing extensions" to me :)
- carpe noctem

lothark

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 13
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #9 on: October 09, 2008, 08:17 AM »
When I run it, the cursor is at the end of the filename before the extension, but the filename is not selected. Is this the intended behavior?

I also have Explorer2 but use it infrequently so this could be really useful if it selected the filename.

t2

  • Participant
  • Joined in 2005
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #10 on: October 13, 2008, 10:30 AM »
You don't need visible file extensions with this (see posts on the bottom of the page, it's a work in progress) :Thmbsup:
http://www.codeproje...change_file_ext.aspx
or here
http://www.autohotke...hange+file+extension

Dacal

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #11 on: October 25, 2008, 12:38 AM »
A little problem here :(
I run it and after having renamed a file, I'm not able to open or run anything with the double left click.

EDIT: Another problem. It works only for files on desktop.

Tested on XP home SP2 and XP Professional SP3.

Skrommel help me please :(
Thanks.

Sorry for my poor English.
« Last Edit: October 25, 2008, 04:10 PM by Dacal »

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #12 on: January 22, 2009, 11:47 PM »
Similar results for people too lazy for AHK (like me) can be achieved using QTTabBar, if I remember correctly, and even more advanced with Pitaschio, where pressing F2 cycles between filename, extension and full filename with extension. The latter also works in open/save dialogs.
QTTabBar also allows you to cycle your selection with F2.

AcidPunch

  • Participant
  • Joined in 2010
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #13 on: May 14, 2010, 02:21 PM »
A little problem here :(
I run it and after having renamed a file, I'm not able to open or run anything with the double left click.

EDIT: Another problem. It works only for files on desktop.

Tested on XP home SP2 and XP Professional SP3.

Skrommel help me please :(
Thanks.

Sorry for my poor English.

I have the same issues as this guy does. Any word on the solution?

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #14 on: May 14, 2010, 07:10 PM »
 :) Try TheEnd v1.1.

Skrommel

lothark

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 13
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #15 on: September 13, 2010, 03:14 AM »
Tried v1.1 butit still exhibits the same behaviour of not selecting the filename. I have reloaded XP SP3 since my previous post.

edit_check

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #16 on: January 03, 2019, 09:38 PM »
Hi, i know it is old, but the aplication is not working propertly (like was reported by another users)

So, i checked the source code and the problem is (on line 44):

ControlSend,%focus%,{Left %length%},ahk_id %active%

So, need add "+" before:

ControlSend,%focus%,+{Left %length%},ahk_id %active%

That is all to fix the problem.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Vista style filename editing in XP
« Reply #17 on: January 04, 2019, 10:02 AM »
Thanks for sharing that fix, edit_check  :up: