Autohotkey script help... need an Explorer backspace hotkey

started 6 months ago | 8 posts | 683 views | topic rss | latest reply
  1. I want to make a hotkey that makes the backspace key work like it did in XP... so it would send alt+up.

    The problem is that the backspace key needs to still work in the rename or location bar.

    Any advice?


    #
    jj128
    Reputation:39
    Posted 6 months ago

  2. I haven't figured out how to do this yet either. I'm sure there's a way, but so far I've not come across it.


    #
    howtogeek
    Reputation:175
    Posted 6 months ago

  3. I would like this one too. Hopefully somebody can help.


    #
    Jaewan
    Reputation:3
    Posted 6 months ago

  4. Hm. ControlGetFocus -should- allow one to get the currently focused UI element, so give that a try.


    #
    Phoshi
    Reputation:63
    Posted 6 months ago

  5. Managed to track down this on the AHK forums at
    http://www.autohotkey.com/forum/topic24377.html

    I've tested it in Win7 and it seems to work perfectly. Credit to fragman on that forum.

    Backspace::
       ;make sure no renaming in process and we are actually in list or in tree
       ControlGet renamestatus,Visible,,Edit1,A
       ControlGetFocus focussed, A
       if(renamestatus!=1&&(focussed="DirectUIHWND3"||focussed=SysTreeView321))
       {
        SendInput {Alt Down}{Up}{Alt Up}
        return
      }else{
          Send {Backspace}
          return
       }

    #
    joeshmoo
    Reputation:1
    Posted 6 months ago

  6. @joeshmoo

    After making a few small adjustments it works perfectly for me! Sweet!


    #
    howtogeek
    Reputation:175
    Posted 6 months ago

  7. Hooray, my thought was right!

    *adds to own script**


    #
    Phoshi
    Reputation:63
    Posted 6 months ago

  8. Saw this one on lifehacker!


    #
    Nacklele
    Reputation:5
    Posted 6 months ago

You must log in to post.

Daily Email Updates

Just want the best posts in your inbox for free? Enter your name and email below:

Name:
Email

About This Topic

Tags

No tags yet.

Our Network
About Productive Geek