matthewk Posted June 15, 2005 Share Posted June 15, 2005 I have a big habit of right clicking in blank area and going to "Back" when web surfing. How may I add this to context menu when in explorer.exe? Thank you Link to comment Share on other sites More sharing options...
spiritpyre Posted June 16, 2005 Share Posted June 16, 2005 (edited) If you can settle with having on the context menus that appear when you right-click a file/folder then you could use a reg tweak like in my file below (don't worry only batch & reg files).One downside to this approach is that you need to use a command argument.. but the good news is sometimes you can cheat. What I did was write a script that uses the hotkeys (which I think back in explorer is Alt+{Left Arrow}) and call my script as the argument (well i gave it an app-path then called it that way...)Edit: I doublechecked and... I was right -- Alt+{Left Arrow} is the keyboard shortcut for back. So.. if you used Auto It and wrote a script with the following code.. you could compile the script. Then download my select_all.zip tweak, and replace all the "select all" stuff with "back" stuff. BUT THIS WILL **NOT** WORK ON FOLDER BACKGROUND CONTEXT; ONLY FOLDER/FILE CONTEXT.Code for an autoit script for "Back"Send("!{LEFT}"); *OR* alternatively AutoIt provides a command for this:; Send("{BROWSER_BACK}")ps - I tested the script both ways and they work fine under xp home. also if you use the app. paths for yours, you'll have to re-export with the corrct value because mine shows the path "%windir%\system32\select_all.exe" IN HEX. But you could probably skip that and just use the whole path in the menu command.but AFAIK, if you want to be able to add something to the context menu that appears when you right-click a folder's background you need to do some extra work (like using DLLs and registering a CLSID). now if i'm wrong about this anybody please free to correct me (and please demonstrate with examples) Or if anybody wants to show me the "right" way to do it, I'd love to get a pm with some example c++/vb/whatever. . Edited June 17, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
Takeshi Posted June 18, 2005 Share Posted June 18, 2005 I've always just used the [backspace] key - it works on IE, Explorer, and Firefox. Link to comment Share on other sites More sharing options...
spiritpyre Posted June 18, 2005 Share Posted June 18, 2005 (edited) I've always just used the [backspace] key - it works on IE, Explorer, and Firefox.<{POST_SNAPBACK}>Edit... nevermind I guess it works fine (for some reason I read "Alt + {Backspace}" even though that's not what you had) lol Edited June 18, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
matthewk Posted June 19, 2005 Author Share Posted June 19, 2005 @spiritpyreI tried Send("!{LEFT}") and I tried Send("{BROWSER_BACK}")Said invalid command or something when trying to test the exe's that I created from trying each of them in a aut. I tried to decompile your selectall.exe; it said it could not find the aut script. I'm not sure what I'm doing wrong. Thanks Link to comment Share on other sites More sharing options...
spiritpyre Posted June 20, 2005 Share Posted June 20, 2005 (edited) I decided to update things a bit and while i was at it I threw together one you should be able to use. let me know if you have problems getting it to run/appear and i'll look at it again but I tested both the .exe alone and via context menu and both ways work fine on my end.Updated: select_all.zipNew: browserback.zipEdit: Just thought I'd mention that originally you needed to edit the .reg file by removing the comment from the first line, but I just decided to take that out so there's less overhead. (aka you no longer need to edit anything just use that batch files) Edited June 22, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
matthewk Posted June 23, 2005 Author Share Posted June 23, 2005 @spiritpyreThank you for your help with this. Sorry for the prolonged thanks. I have been researching a little to add into my post how to add something to the context menu when right clicking in the blank area of an explorer window. I have not found out yet. I emailed the staff at eusing.com about how they did it in their program Select Folder Express. I have not heard a response from them yet. I did run across this: http://www.msfn.org/board/index.php?showtopic=47603 , but I did not realize if anything was different from this thread. I am still wondering how to do it for the blank area too. Thank you again Link to comment Share on other sites More sharing options...
spiritpyre Posted June 23, 2005 Share Posted June 23, 2005 (edited) here's what I know on that subject: from msdn (scroll down to the last table and look just below the table at the first entry under "notes"). From what I understand from the rest of the article (and a few others from msdn), I would need to register a dll under HKCR\CLSID and point an entry in the HKCR\Directory\Background key to the HKCR\CLSID\{SID for dll} to be able to do this. If I'm wrong, and its actually easier... well, I'd rather be wrong and it be easier but who knows.I've been planning on trying out these articles and seeing if I can't figure it out: The Complete id***'s Guide to Writing Shell Extensions but I haven't really had much time lately except a few hours late each night and so far I've been pretty burned out by then. Edited June 23, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
eidenk Posted August 16, 2005 Share Posted August 16, 2005 (edited) Get yourself Stroke It. With it you can go back and through with mouse gesture in Explorer and IE. Edited August 16, 2005 by eidenk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now