New
#1
Classic Shell Add On Buttons
Target; Get the windows controlled by these buttons to toggle the window on or off at each button press.
These Buttons are on the toolbar supplied by Classic Shell. This is part of a much larger project to customise my main Explorer functions and utilities. I use QTTabbar, StexBar, Classic Shell, and various other programs and scripts for this, but a few people asked me about toggle buttons, and so here they are. At present my explorer looks like this;
But is still very much a work in progress!
Required for the mods described; Classic Shell, Explorer++, Autohotkey
Welcome to Classic Shell
Explorer++ - A small and fast file manager for Windows
AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText
Setting up a button;
The Command for this button;
The script for this command; ToggleExplorer++.ahkCode:C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe D:\Autohotkey\ToggleExplorer++.ahk
This toggles the window on and off when the button is pressed. To toggle other window buttons just change the relevant commands and paths to the program required,Code:SetTitleMatchMode , 3 ;Sets EXACT match for the window title text IfWinNotExist, Computer - Explorer++, ; Checks if the Explorer++ Window is there or not. run D:\downloads\explorer++_1.2_x64\Explorer++.exe ;If it is not the program is loaded. or IfWinExist, Computer - Explorer++, ; If the window already exists, then close it. PostMessage, 0x112, 0xF060,,, Computer - Explorer++, ;Send close command to window. Exit ; Exits the script
Example; Universal Viewer.
Command;
Script= ToggleViewer.ahkCode:C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe D:\Autohotkey\ToggleViewer.ahk
This is running on Windows 7 x64 Ultimate, but it should run on any version.Code:SetTitleMatchMode , 3 IfWinNotExist, Universal Viewer, run C:\Program Files (x86)\Universal Viewer\Viewer.exe, or IfWinExist, Universal Viewer, PostMessage, 0x112, 0xF060,,, Exit
Why do I want an Explorer++ window in my QTTabbar? Because I can easily drag and drop directly to it, and Explorer++ does not have the same limitations with regard to system files as Windows Explorer, ( which QTTabBar runs on). Of course you can use any other file program which allows Drag&Drop as well. Obviously I have disabled most of the menu bars in Explorer++ ( Set up in options of Explorer++). Q-Dir is also very good. But actually any program will work. Both Explorer++ and Q-Dir have the advantage of being small, fast, and feature rich.
Regards...Mike Connor