Use the power of Everything in Explorer and File dialogs

General discussion related to "Everything".
RonIOU2
Posts: 3
Joined: Tue Mar 31, 2020 12:55 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by RonIOU2 »

Hi
Thanks for the tip on using the command line options. I have added these and removed the AHK coding.
Just a quick question how would I change the ini or use startup options to always open Everything to window size large.
Thanks
Roland
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Use the power of Everything in Explorer and File dialogs

Post by aviasd »

Hi,
I've modified the script abit for additional context menu item to search folders only under current path. Not all folders in the computer.
It's pretty basic and does not support special folders...But here it is ...
Thanks for this script....
JumpToFolderv0.0.5-CurrentPathMod.zip
(3.14 KiB) Downloaded 2050 times
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Use the power of Everything in Explorer and File dialogs

Post by aviasd »

Here's another quite extensively modified version, in a single ahk script can run as a resident app

To use:
Modify in script the path to everything.exe
Run the script

In Dialog boxes:
F3 - Searches for all folders
F4 - Search for folders under current folder (Special folders I.E Desktop, Documents not supported)

In Everything:
Enter and double click are pushing the selected folder back to the dialog.
Attachments
JumpToFolder-KeyboardMod.zip
(2.39 KiB) Downloaded 2137 times
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Use the power of Everything in Explorer and File dialogs

Post by aviasd »

Just a small addition to the above post:
This version allows also to search for a folder in favorite list using Ctrl+D in file dialogs

To create a favorite list:
1. type in the query: filelist:FavoriteFolder1|FavoriteFolder2|...
2. Add as filter called Favorites

Now when typing Ctrl+D in file dialog everything will open with that filter selected.

As a simpler/alternate method to create a filelist - See here

Edit: Updated version fixes mouse dragging issues inside everything, and inputs the selected folder in the filename control, allowing it to work inside dialogs like notepad++'s
Attachments
JumpToFolder-KeyboardMod-0.2.zip
(2.62 KiB) Downloaded 1704 times
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

I have written an updated version of JumpToFolder.
Will post it tomorrow (or maybe tuesday), but here are the most visible changes in advance, to have that out of my system:
  • Support for "Browse for Folder" dialogs (see posts by @stamimail)
  • Localization independent (should work in all Windows languages)
  • Support for searching for files. Will browse to the folder where that file is located and preselects the filename (when applicable). You only have to press Enter (or select a different file in that folder).
    Also handy if you don't know the foldername, but know the name of a file in that folder
  • Enter in search bar is allowed
  • Support for mouse. Instead of ENTER a filename, you now can also double-click
  • Hidden option to resize the Everything window by SHIFT-dragging the corners or the sides.
  • Configurable sort. If you like the most recent files/folders first, that's possible. Just like the most used ones.
  • Support for changing folders in Q-Dir (file manager)
  • Support for changing folders in Total Commander (file manager)
  • Support for changing folders in Altap Salamander (file manager)

Thanks to @ovg for testing! (and finding the first two bugs :))
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

The instructions for this version are largely the same as before, but as this thread got quite long and chaotic here they are again:
(the instructions are the same if you are upgrading from a previous version)


Installation
  1. Download Autohotkey.zip (https://autohotkey.com/download/ahk.zip)
  2. Extract this to some folder
  3. Delete all files, except AutoHotkeyU64.exe /AutoHotkeyU32.exe
    Which one depends on the bit-ness of your Windows: 64-bit Windows (that is the most common)?: keep AutoHotkeyU64.exe.
  4. Download attached JumpToFolderV0.0.9.zip
  5. Extract this zip to the same folder
    You will get 3 new files: JumpToFolder.ahk, JumpToFolder.ini and JumpToFolderContextmenu.cmd
  6. Change the settings in JumpToFolder.ini to match your situation:
    The most important ones are:

    Code: Select all

    	Everything_Exe=C:\Tools\Everything\Everything.exe
    	Everything_Icon=C:\Tools\Everything\Everything.exe
    
    But take a look at the other (documented) settings too, especially when you use Total Commander and/or Altap Salamander
  7. Run JumpToFolderContextmenu.cmd.
  8. Press <i> to install the context menu (and do some other stuff).
    This also copies AutoHotkeyUxx.exe to JumpToFolder.exe
  9. Done.
Extra steps for Total Commander:
As Total Commander has limited Windows shell functionality, this requires some extra steps:
  • In Total Commander, browse to the folder where JumpToFolder.exe is located
  • Drag JumpToFolder.exe to one of the button bars.
  • Finetune this button (icon!). You can also add this to the menu's and include a keyboard shortcut to activate JumpToFolder
    (But you know this probably a lot better than I do)


How to use?
  • Right-click wherever there is a list of files and choose "Jump To Folder"
    That can be a File Explorer window, an Open/Save dialog, Total Commander, Q-Dir, Altap Salamder ... just try it.
    If an application is not (yet) supported, that will be shown. When you would like this application to be supported too, let me know (and describe where in that application the list of files comes up.
  • After that, an Everything search window will open (without menu and title bar).
  • Enter your search query
  • Use mouse (double-click) or keyboard (Enter) to select a file or folder ..
  • ... and your application will switch to that folder.
  • If applicable: a filename will be pre-filled in the "File name" box.
Total Commander:
  • Select the button you created during installation. This will change the folder in the active pane.


UnInstall
  1. Run JumpToFolderContextmenu.cmd.
  2. Press <r> to remove the context menu.
  3. Done.
You can now remove the files in this folder.



Notes
  • If you are the type of person that injects disinfectant because "the label didn't say anything about it, so I gave it a go":
    This is not for you as it is still in beta.
  • The JumpToFolder context menu entry is installed for the current user. If you run an application under a different user account, you will have to install the context menu for this user too:
    In that application, go to the point where you would expect the context menu; browse to the folder where JumpToFolderContextmenu.cmd is; right-click it; choose "Open" and press i.
  • For the (very few) people that have hide_on_close enabled in Everything.ini, be aware that the temporary Everything search window that JumpToFolder opens can not be closed.
Attachments
JumpToFolderV0.0.9.zip
(6.43 KiB) Downloaded 2040 times
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Use the power of Everything in Explorer and File dialogs

Post by aviasd »

Thank you for all your work :)
Attached is the current keyboard mod I have.
It's pretty stable and restricted to fileopen dialogs alone.
But perhaps it'll help with the main project.
I've added a file extension detection which feeds the currently selected file types to everything as ext:ext1;ext2 query. (in case it's a file search).
There's currently an annoying hack to navigate SysTreeView321 - folder dialog with tree view which is kinda working (by traverse typing the path). If someone has a better solution - please share!

Note: Attached exe is a compiled version for those who want to test, without having autohotkey installed - It will try to detect everything.exe from a running process.
EditUpdated version has a bit more documentation and small fixes

Cheers

JumpToFolder-KeyboardMod.ahk
Description

Open file/folder selection in everything from file open dialogs
supports searching under current path /all folders
Current path partially supports Special folders via hack (Desktop, Documents, etc)
SysTreeView321 - Select folder dialog supported via hack

Usage
Inside File Dialogs
F3 - Search for all folders, Shift+F3 - Search for all files
F4 - Search for all folders under current path, Shift+F4 - Search for all files under current path
Control+D - Search in favorite folders
Shift+F3/F4 will also attempt to match dialog extensions

Inside everything
Enter, DoubleClick - Send back to File dialog
Escape - Cancel selection
Alt+F - Switch to "everything" filter
Alt+T - Toggle everything window size
Everything is sorted by date modified descending

Configuration
Modify EverythingEXE below to match path to everything
Toggle CopyToClipboard to enable/disable copying path to Clipboard on feed
Add more dialog classes via GroupAdd (Line #35) - Use window spy to detect
Attachments
JumpToFolder-KeyboardMod0.301.zip
(310.34 KiB) Downloaded 2433 times
Last edited by aviasd on Tue May 05, 2020 11:43 am, edited 1 time in total.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

Thanks for the new version.
It works fine in Total Commander environment.
I don't use the context menu or a button in Total Commander.
I prefere a system wide hotkey or a special key on my Logitech keyboard.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

horst.epp wrote: Tue May 05, 2020 8:24 am I don't use the context menu or a button in Total Commander.
I prefere a system wide hotkey or a special key on my Logitech keyboard.
That is how the very first version of this started out. But after this:
NotNull wrote: Fri Mar 30, 2018 12:54 pm by NotNull » 30 Mar 2018, 14:54
void wrote:
I'm not a fan of hooking into all windows to catch the open/save dialog, unless there is some other way to do this..
I thought so too and came up with this alternative:
.. that all changed to the current model where there is no program in the background listening and responding to keyboard- and mouse activity.
BTW: Weren't you already using some tool for that? Something like Popupfolders? I might have to talk to you about that ... (in a positive way: for inspiration and ideas for a next version of this).

horst.epp wrote: Tue May 05, 2020 8:24 am It works fine in Total Commander environment.
Given the extreme configurability of TC, I was a bit worried about that .... Thanks for letting me know!
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

I make system-wide hotkeys for JumpToFolder and other Tools
with Quick Access Popup (QAP) which itself is programed in Autohotkey.
QAP already can change the path in Open/Save dialogs to the current dir of Total Commander with a hotkey.
Now with JumpToFolder I have an additional QAP hotkey for using Everything in the dialogs.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

horst.epp wrote: Tue May 05, 2020 11:22 am Quick Access Popup (QAP)
I was close ... Folders Popup is the predecessor of QAP (same author).
horst.epp wrote: Tue May 05, 2020 11:22 am Now with JumpToFolder I have an additional QAP hotkey for using Everything in the dialogs.
Cool!
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by Stamimail »

I don't know Quick Access Popup. I'm using the alternative - the free version of Direct Folders.
It has pros and cons. One feature I like is:
ClickSwitch

This feature will make a file dialog instantly jump to the folder already opened in Explorer, Total Commander or Directory Opus. Just switch to the window you need.
I don't know why this feature is called ClickSwitch, since you don't have to click to switch (you can use alt+tab). The point is, when the Save/Load Dialog-Box is opened, you can switch to another window and then back (or clicking the chosen Explorer Taskbar Button - twice - go and back), and the Save/Load Dialog-Box will be navigated to that chosen window.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

I modified the Run command for Total Commander in JumpToFolder as follows:

Run, "%$TotalCommander_EXE%" /O /A /S /L="%$FolderPath%\%$FileName%",,, $DUMMY

This has the benefit to position the cursor on the file if one was selected in Everything.
The /A prevents opening an archive and just select it as a file.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

Stamimail wrote: Tue May 05, 2020 1:03 pm I don't know Quick Access Popup. I'm using the alternative - the free version of Direct Folders.
It has pros and cons. One feature I like is:
ClickSwitch

This feature will make a file dialog instantly jump to the folder already opened in Explorer, Total Commander or Directory Opus. Just switch to the window you need.
I don't know why this feature is called ClickSwitch, since you don't have to click to switch (you can use alt+tab). The point is, when the Save/Load Dialog-Box is opened, you can switch to another window and then back (or clicking the chosen Explorer Taskbar Button - twice - go and back), and the Save/Load Dialog-Box will be navigated to that chosen window.
I know Direct Folders but QAP has many advantages compared to it.
It has functions like hotkeys, hotstrings, PopUp menus and it can include small Autohotkey macros.
It supports all keys and mouse buttons for starting programs or strings.
QAP is free and the Author is very responsive and user friendly.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

Nice!
I did look for the option to highlight the file, but could't find it.
Will add it to the next version. Thanks!

FWIW: There is already a new version where you no longer have to specify the path to Total Commander (TotalCommander_EXE) or Altap Salamander in the INI file. Will post it when there are some other (more essential) changes.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

aviasd wrote: Mon May 04, 2020 11:57 pm Attached is the current keyboard mod I have.
It's pretty stable and restricted to fileopen dialogs alone.
But perhaps it'll help with the main project.
Thank you, aviasd. I will take a look at it this weekend (if time permits ..)
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by therube »

Code: Select all

---------------------------
JumpToFolder.ahk
---------------------------
Error:  Failed attempt to launch program or document:
Action: <C:\WLIB\Servant Salamander 4.0\salamand.exe>
Params: < -O -A "C:\MUSIC\___fromC\Fischerspooner\#1\">

Specifically: The system cannot find the file specified.



	Line#
	338: $FolderPath = %$Column2%\
	339: $FileName = %$Column1%
	340: }
	354: WinClose,ahk_id %$EverythingID%
	358: Return
	382: Run,"%$TotalCommander_EXE%"  /O /S /L="%$FolderPath%",,,$DUMMY
	384: Return
--->	396: Run,"%$AltapSalamander_EXE%"  -O -A "%$FolderPath%",,,$DUMMY
	398: Return
	416: $FolderPath := RTrim( $FolderPath , "\")
	420: For $Exp, in ComObjCreate("Shell.Application").Windows
	421: {
	422: if ( $Exp.hwnd = $WinID )  
	422: {
	423: $Exp.Navigate($FolderPath)  

The current thread will exit.
---------------------------
OK   
---------------------------

Code: Select all

	AltapSalamander_EXE=C:\WLIB\Servant Salamander 4.0\salamand.exe
Run from a command line (with AltapSalamander_EXE in quotes), it works.

Code: Select all

"C:\WLIB\Altap Salamander 4.0\salamand.exe" -o -a   "C:\MUSIC\___fromC\Fischerspooner\#1\"
---

otherwise...

XP (well /I/ still run it ;-))
64-bit OS, yet I use 32-bit autohotkey.exe (threw off the install)
you're using "installed" everything (Everything_Exe), better IMO, to use named instance or similar (so as to not have changes made affect your "running" versio of Everything... but then you want run count too...)
might have multiple versions of Salamander "installed" (or available & not "installed", per se)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

therube wrote: Thu May 07, 2020 7:45 pm Params: < -O -A "C:\MUSIC\___fromC\Fischerspooner\#1\">
AHK has troubles with "#" in folderpaths (has special meaning).

BTW: I created that same folder on my (Win10) system and could not reproduce the issue: Altap "jumped" to the \#1\ folder.
Are other folders (without #) OK?

Will send you an updated version to try.


you're using "installed" everything (Everything_Exe), better IMO, to use named instance or similar (so as to not have changes made affect your "running" versio of Everything...
What changes could this make to the "regular" Everything? (other than maybe layout)
A named instance has the disadvantage of needing a separate database (or configuration will be semi-impossible).


might have multiple versions of Salamander "installed" (or available & not "installed", per se)
No longer an issue in the latest (unreleased) version:
NotNull wrote: Tue May 05, 2020 1:32 pm FWIW: There is already a new version where you no longer have to specify the path to Total Commander (TotalCommander_EXE) or Altap Salamander in the INI file. Will post it when there are some other (more essential) changes.
This will auto-detect the path to the running salamand.exe and use that.


Anyway: Thanks for your thoughts an your testing! Very helpful.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

horst.epp wrote: Tue May 05, 2020 8:24 am I don't use the context menu or a button in Total Commander.
I prefere a system wide hotkey or a special key on my Logitech keyboard.
I just realize that this is already (sort of) an option with the current version of JumpToFolder:
  • Create a shortcut on your Desktop or in your Startmenu to JumpToFolder.exe
  • Configure a keyboard shortcut in the General tab (Suggested: CTRL+ALT+J )
  • Save
  • Press CTRL+ALT+J when in File Explorer, Open/Save dialogs /Total Commander / ...
(Briefly tested)
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by therube »

TEMP version works (with Salamander).

(Only looked at it for a moment.
I did put in the .dll, not knowing if needed or not. [Seemingly only needed for rc.])
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

therube wrote: Fri May 08, 2020 4:16 pm TEMP version works (with Salamander).
Thanks!
I'm glad that it's working again (436 bugs to go ... :))
I'll make that the default for Salamander then (in the next major release ;))

Seemingly only needed for rc
Well spotted! (I should have mentioned that ... sorry)

BTW: You can now also remove the salamander INI-entry; it is no longer used.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

therube wrote: Thu May 07, 2020 7:45 pm so as to not have changes made affect your "running" versio of Everything...
I now see what you meant by that:
If your "regular" Everything is not running when this is running, it will resize the Everything window to the size of the window from where you started JumpToFolder.
When exiting, this new size will be saved to Everything.ini, causing your regular Everything.exe to be opened in this size.

Will fix that
(in a couple of days; currently working on a GUI for the settings. Long story short: I'm running out of swear words in 5 different languages .... )
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

An intermediate release. I wanted to spend some extra time on it this weekend, but real life decided otherwise...

It is tested (thanks, @ovg!!) and should be fully functional.
2020-05-24 21_07_51-JumpToFolder settings (version 0.9.2).png
2020-05-24 21_07_51-JumpToFolder settings (version 0.9.2).png (14.79 KiB) Viewed 103631 times
Installation:
  • Extract the zip-file that matches the bitness of your Windows to an empty folder
  • Run JumpToFolder.exe and fill in the settings.
  • If you use Total Commander, don't forget to generate the button code and paste it on your button bar.
  • If you want to use a keyboard shortcut ( CTRL + ALT + J ) instead of the context-menu entry, copy the (generated) JumpToFolder.lnk to your startmenu or desktop.


UniInstall:
  • Start JumpToFolder.exe
  • Go to the settings tab
  • select Action = Uninstall
  • Press the OK button.

I think you guys (M/F) are clever enough to figure out the rest.
Source code is in Source JumpToFolder_0.9.2.zip (JumpToFolder.exe is the compiled edition)


P.S. If anyone has suggestions for a better name than "JumpToFolder": please let me know! I am not particularly fond of the current name.


EDIT: 2020-06-03
Current version will not always correctly fill in the foldername in some SaveAs dialogs.
Update will follow soon.
Attachments
Source JumpToFolder_0.9.2.zip
(11.72 KiB) Downloaded 1687 times
JumpToFolder_0.9.2_x32.zip
(431.06 KiB) Downloaded 1998 times
JumpToFolder_0.9.2_x64.zip
(570.74 KiB) Downloaded 2140 times
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

Hi,
thanks for the new version. :)

I have a problem with the context menu for JumpToFolder version 0.9.2.

Previously the context menu (installed with JumpToFolderContextmenu.cmd) still worked,
but I have not uninstalled the context menu before installing the new version.

Now, in a "Save As" dialog after
- Ctrl+Alt+J --> I get only displayed the settings menu "JumpToFolder settings (version 0.9.2)".
- Right click --> I get the context menu of 'Everything' but not of "JumpToFolder"

"select Action = Uninstall" brought no result...

Please help.

(The new button as well as the link work for me).

JumpToFolder.ini

Code: Select all

[JumpToFolder]
everything_exe=C:\Tools\Everything\Everything.exe
also_search_files=1
sort_by=Name
sort_ascending=0
contextmenu_text=Jump to Folder ...
contextmenu_icon=C:\Tools\Everything\Everything.exe,0
Regards,
Karl
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

tuska wrote: Sun May 24, 2020 10:28 pm Now, in a "Save As" dialog after
- Ctrl+Alt+J --> I get only displayed the settings menu "JumpToFolder settings (version 0.9.2)".
That means you have still an older JumpToFolder shortcut somewhere on your desktop (or startmenu).
Delete it and copy the newly created one (it is in the folder where JumpToFolder.exe is too) to your desktop.
tuska wrote: Sun May 24, 2020 10:28 pm - Right click --> I get the context menu of 'Everything' but not of "JumpToFolder"
You probably right-clicked a folder instead of somewhere in the "empty space" (if that is not clear, I can post a screenshot)

To make sure, start JumpToFolder.exe again, go to the settings tab (your settings look OK, btw) and press the OK button.
That will write the necessary registry keys and re-generate the .lnk file.
The registry keys will overwrite the ones from an earlier version.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

2NotNull
Thank you for your prompt reply.

I have now deleted the shortcuts I created and reinstalled the context menu.

When I right-click on "This PC" in the "Save as" dialog, I only get the context menu of 'Everything' (quickly!).
If I right-click on "Libraries" in the "Save As" dialog, I get the context menu of 'JumpToFolder' <and 'Everything'> (quickly!).
If I right-click on an empty space (left to the folders) in the "Save As" dialog, I get the context menu of 'JumpToFolder' <and 'Everything'> (quickly!).

Only with the shortcut CTRL+ALT+J I cannot call "C:\Tools\Everything\JumpToFolder.exe -jump".
But this is not a problem for me, because it takes a bit longer and I usually right-click to call up the context menu 'JumpToFolder'.

EDIT: CTRL+ALT+E works for me (but slowly)!

Thanks for your support.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

"This PC" is a special case. I experimented with adding "Jump To Folder" to it's background context menu, but this behaves different from "normal" registry keys. Will have to do some hacking to make it work.
"Internet" hasn't found a solution for this either, but I like the challenge :).

But if that requires running with administrative privileges (and probably even running under the TrustedInstaller account, I will tell how, but will not implement it (so far everything can be installed and used as a restricted user and I want to keep it that way).
Right-clicking "This PC" should be no problem though, so there is a "Plan B" ..


I have the library functionality removed on all my systems, so I couldn't build that. But will look into it when on a system where this is enabled. Shouldn't be too hard.

tuska wrote: Sun May 24, 2020 11:18 pm Only with the shortcut CTRL+ALT+J I cannot call "C:\Tools\Everything\JumpToFolder.exe -jump".
Did you put the shortcut on your desktop/startmenu? Those are the places Windows will look for keyboard shortcuts.
BTW: What *does* happen when you press CTRL+ALT-J ?

Anyway: Thanks for your feedback! I appreciate it.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

I only listed "This PC" because one (e.g. I) might mistakenly think that the context menu for JumpToFolder is not available.
I only mentioned "Libraries" because it is the fastest way for me to get to the context menu for JumpToFolder
(quick and fewer context menu entries). Personally, I do not consider further effort to be necessary regarding these 'folders',
since basically everything works fine with JumpToFolder.

The shortcut CTRL+ALT+J did not work for me - no reaction - (not even as shortcut for another program).
But after I created a shortcut in the start menu because of your hint, now also works CTRL+ALT+J. :)
Thanks!

Code: Select all

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\JumpToFolder.lnk
C:\Tools\Everything\JumpToFolder.lnk
C:\Users\User\Desktop\JumpToFolder.lnk
xml123
Posts: 2
Joined: Mon May 25, 2020 1:33 am

Re: Use the power of Everything in Explorer and File dialogs

Post by xml123 »

I am a user of Listary and found JumpToFolder from its forum. This program is quite a great alternative of Listary. I wonder if you have any intention of implementing some more useful functions in Listary called "Quick Switch".
When a file dialog is opened and you have another Explorer window opened. You want the dialog to switch to the path of the Explorer window. Then you can
1.activate the Explorer window by Alt+Tab or any other ways to change path.
2.press Ctrl+g in the dialog to change path to the last recently activated Explorer window.
If I don't express clearly, you can watch this video:
https://www.listary.com/docs/getting-st ... ick_switch
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

xml123 wrote: Mon May 25, 2020 4:03 am I wonder if you have any intention of implementing some more useful functions in Listary called "Quick Switch".
At this moment I can't tell in what direction this will go. I'm already glad that it got to this point.
One thing I do know is that I don't want it to be a program that is constantly listening in the background and/ or "stealing" keyboard shortcuts. There are a lot of conflicting shortcuts used by similar programs, causing issues).

But technically it is possible. I just wrote a proof of concept that, when Control-G is pressed in a File Open/Save dialog, will list all open Explorer folders (no need to go to that specific Explorer window first). You can select the one you want and that folder will be opened in the Open/Save dialog.

I have to say that I really like Listary (although I don't use it at the moment). A lot of thought - and work obviously - went into it. Working with it felt pretty "fluent" (by lack of a better word).
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

aviasd wrote: Mon May 04, 2020 11:57 pm Attached is the current keyboard mod I have.
Finally some time to take a look at this...

There are quite a few nice ideas in your script. Highlighting the file you selected (in Everything) and using the dialog's file extension to limit the search to that extension. Those stood out the most to me.
EDIT: also worth mentioning: a routine for handling mouse-dragging.

And I diddn't know there was a regexreplace() in AHK. Good to know!

Thanks!!

FWIW: Th script didn't run out of the box:
- Line 162:shell icon could not be found (on my Win10 x64)
- The running Everything could not be detected. Changed location setting on line 41
- Tip routine on line 462 gave an error and exited the script.
(line numbers are by approximation; I added some extra lines in the script)

After fixing those, script runs fine.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

xml123 wrote: Mon May 25, 2020 4:03 am"Quick Switch"
I thought that I might just as well post the code here. Maybe it can help you.
When you run the code, it will be loaded in the background, until you press CTRL + G in a Open/Save dialog.
Then it will show you a selection of all open Explorer folders to choose from.
It is a context-menu, so it will be shown where your mouse is. It can also be operated with cursorkeys and Enter.

2020-05-27 22_45_13-Window.png
2020-05-27 22_45_13-Window.png (21.88 KiB) Viewed 103545 times


"QuickSwitch.ahk"
Updated version in the next post.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

I had an hour of fun figuring out how I could also show the open folders in Total Commander (the foreground tab in the left pane as well as the right pane) in the QuickSwitch menu.

Result is in attached zipfile.
Attachments
QuickSwitch.zip
(1.03 KiB) Downloaded 1694 times
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

NotNull wrote:I had an hour of fun figuring out how I could also show the open folders in Total Commander
That paid off, now we have the fun! :)

QuickSwitch works great with Windows Explorer and Total Commander in
- 'Save as...' dialogs
- 'File open...' dialogs
e.g. in Outlook or EmEditor by using Ctrl+G.

I am also pleased that you have limited the entries in the history.

Thanks a lot!

Regards,
Karl
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

So you consider this some kind of useful? I still have trouble finding a use-case for this. It was written mostly to get more Autohotkey experience (and to help @xml123).
On the other hand: @xml123, @Stamimail and @horst.epp independently mention this functionality, so it has to be useful somehow...

tuska wrote: Fri May 29, 2020 10:07 am I am also pleased that you have limited the entries in the history.
No history; just the currently opened folders in Total Commander and Explorer.
But that's an interesting thought: reading the history too.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

NotNull wrote:So you consider this some kind of useful?
Yes, it could e.g. replace Listary & ListaryServiceV2 completely on my PC, if after ALT-TAB, ALT-TAB the path would adapt automatically.
But I like your AHK script very much, e.g. for portable use (TC and AHK script).

History:
I meant, in contrast to the previous version, only the current directory is displayed in Windows Explorer.
(Please see your picture above...)

Only if you want to add a history, please consider the following:
- with cursor down you should be able to reach the current directory (Explorer, TC) - this is current behaviour
- Do not save too many entries, so that it does not become confusing

I would like to make the following comment about QuickSwitch:
If you have opened neither Windows Explorer nor Total Commander, then you get an error message.
Please suppress this error message and give a hint that at least either Windows Explorer or Total Commander must be opened first.

Thank you!
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

tuska wrote: Fri May 29, 2020 11:18 am , if after ALT-TAB, ALT-TAB the path would adapt automatically.
That's a nice challenge! Don't know if I will succeed, but will have a stab at it.
( this thread is a mess anyway, so why not? :) Will start a fresh thread for the next version of JumpToFolder/new name )

tuska wrote: Fri May 29, 2020 11:18 am I meant, in contrast to the previous version, only the current directory is displayed in Windows Explorer.
That were 3 open Explorer's. But the first first version had a bug: when you <esc> the menu, it would't be cleaned, causing old items to show. Maybe that is what you encountered.

I am not sure about adding history (or -ies) in the mix. I have never used Quick Access Popup, but based on the screenshots, it looks more complex to find the folder you were looking for than by browsing to it. But I'm probably wrong about that too.

tuska wrote: Fri May 29, 2020 11:18 am If you have opened neither Windows Explorer nor Total Commander, then you get an error message.
I even tested that case! Thinking back, the script wasn't even running at that time so it seemed to work perfectly ... :oops:
Will make it "silent" when nothing to do (= show nothing )

Thanks for your ideas!
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

NotNull wrote:I am not sure about adding history (or -ies) in the mix. I have never used Quick Access Popup, but based on the screenshots,
it looks more complex to find the folder you were looking for than by browsing to it. But I'm probably wrong about that.
Now that you have explained the "history" to me (3 Explorer windows) and I now imagine 2 or more additional TC instances,
I would suggest not making a history. But the idea for the history actually came from you ;)

There's something else I noticed:
If a .zip file is open in Total Commander at this time (Ctrl+G), for example

Code: Select all

C:\Tools\Everything\QuickSwitch\QuickSwitch_Windows Explorer and TotalCommander.zip\*.*
then this leads to a conflict.
But I think that this problem will normally be extremely rare and therefore does not need to be corrected.

I wish you good luck with the eventual implementation of ALT-TAB (TC or Explorer), ALT-TAB (open/save)!
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

tuska wrote: Fri May 29, 2020 4:04 pm I wish you good luck with the eventual implementation of ALT-TAB (TC or Explorer), ALT-TAB (open/save)!
Thanks! Already got that working That was easier than expected :shock:
Nice extra: if you open a dialog box and you came from a file manager (Explorer, TC) it will automatically switch to the folder that was active in that file manager without even the need to Alt-Tab!.

Now struggling with hotkeys ....
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Use the power of Everything in Explorer and File dialogs

Post by tuska »

NotNull wrote: Fri May 29, 2020 5:01 pm
tuska wrote: Fri May 29, 2020 4:04 pm I wish you good luck with the eventual implementation of ALT-TAB (TC or Explorer), ALT-TAB (open/save)!
Thanks! Already got that working That was easier than expected :shock:
Nice extra: if you open a dialog box and you came from a file manager (Explorer, TC) it will automatically switch to the folder that was active in that file manager without even the need to Alt-Tab!.
That sounds great - I'm already excited. 8-)
aviasd
Posts: 135
Joined: Sat Oct 07, 2017 2:18 am

Re: Use the power of Everything in Explorer and File dialogs

Post by aviasd »

NotNull wrote: Wed May 27, 2020 7:46 pm
There are quite a few nice ideas in your script. Highlighting the file you selected (in Everything) and using the dialog's file extension to limit the search to that extension. Those stood out the most to me.
EDIT: also worth mentioning: a routine for handling mouse-dragging.
Thanks, I was just trying to make it useful to me.
NotNull wrote: Wed May 27, 2020 7:46 pm
FWIW: Th script didn't run out of the box:
- Line 162:shell icon could not be found (on my Win10 x64)
- The running Everything could not be detected. Changed location setting on line 41
- Tip routine on line 462 gave an error and exited the script.
(line numbers are by approximation; I added some extra lines in the script)

After fixing those, script runs fine.
All the above was fixed.
Also added an option to input the everything.exe path in case it's not detected - (Saved into ini) - useful for compiled script.
Note that detection of everything path from a running Process would require running the script as administrator.
Attachments
JumpToFolder-KeyboardMod0.303.zip
(429.06 KiB) Downloaded 1992 times
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

Will take a look at it (in a couple of days, I hope)

I was struggling with hotkeys, but the real-world usage in your script made it all clear to me.
So: Thank you! :)
kumar
Posts: 25
Joined: Fri Sep 27, 2019 1:16 am

Re: Use the power of Everything in Explorer and File dialogs

Post by kumar »

This is a really good capability. Is it available in current version or is it still in development?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

kumar wrote: Tue Jun 23, 2020 4:53 pm This is a really good capability. Is it available in current version or is it still in development?
You mean the "QuickSwitch" functionality? @tuska and I have been working on that (behind the scenes). Still in development. The ball is in my corner at the moment, but I have less time lately, so i is more or less on hold now.

If ready, it will be posted here.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

For your information:
I have enabled the FreeCommander section in JumpToFolder and it just runs fine with the actual version of FC.
May I post the source in the Free Commander forum ?
With a reference to this thread and your name of course.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

horst.epp wrote: Fri Aug 21, 2020 4:27 pm For your information:
I have enabled the FreeCommander section in JumpToFolder and it just runs fine with the actual version of FC.
May I post the source in the Free Commander forum ?
With a reference to this thread and your name of course.
Yes, of course you may.

Be aware that it is still beta and I have, unfortunately, very little time for further development / bug fixing for at least the next 2 months.
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by horst.epp »

NotNull wrote: Fri Aug 21, 2020 5:13 pm
horst.epp wrote: Fri Aug 21, 2020 4:27 pm For your information:
I have enabled the FreeCommander section in JumpToFolder and it just runs fine with the actual version of FC.
May I post the source in the Free Commander forum ?
With a reference to this thread and your name of course.
Yes, of course you may.

Be aware that it is still beta and I have, unfortunately, very little time for further development / bug fixing for at least the next 2 months.
Thanks.
For me the current version runs perfectly with Total Commander :D
xml123
Posts: 2
Joined: Mon May 25, 2020 1:33 am

Re: Use the power of Everything in Explorer and File dialogs

Post by xml123 »

NotNull wrote: Fri May 29, 2020 5:01 pm if you open a dialog box and you came from a file manager (Explorer, TC) it will automatically switch to the folder that was active in that file manager without even the need to Alt-Tab!.
Any progress about this feature? And Jumptofolder seems to be no reaction when you try to active everything on some programs that not support. I hope in this situation, a normal everything search window can be active so that I don't need to set another hotkey for everything.
Best regards.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Use the power of Everything in Explorer and File dialogs

Post by NotNull »

xml123 wrote: Mon Sep 21, 2020 8:13 am And Jumptofolder seems to be no reaction when you try to active everything on some programs that not support.
There should be a dialog "This is not (yet) supported in program.exe ..

At the moment my time is limited, so a lot of things, amongst which JumpToFolder, are on hold.
But it will be further developed in the future.

But youu could also quite easy change the code yourself: replace the dialog with a 'run Everything' command.
The .ahk is just a textfile; you can open it in Notepad.
Coldblackice
Posts: 79
Joined: Sun Jul 13, 2014 12:20 am

Re: Use the power of Everything in Explorer and File dialogs

Post by Coldblackice »

xml123 wrote: Mon May 25, 2020 4:03 am I am a user of Listary and found JumpToFolder from its forum. This program is quite a great alternative of Listary. I wonder if you have any intention of implementing some more useful functions in Listary called "Quick Switch".
When a file dialog is opened and you have another Explorer window opened. You want the dialog to switch to the path of the Explorer window. Then you can
1.activate the Explorer window by Alt+Tab or any other ways to change path.
2.press Ctrl+g in the dialog to change path to the last recently activated Explorer window.
If I don't express clearly, you can watch this video:
https://www.listary.com/docs/getting-st ... ick_switch
This is as cool feature. Currently, I have to press ALT-D in the folder whose path that I want, CTRL-C copy it, ALT-TAB back to the dialog in whatever program I'm in, CTRL-V paste the copied folder name into the Save-As filename box, press enter (or must click "Save" occasionally when Enter doesn't work), it then opens to the proper folder and I can open or save whatever is needed in that folder.

It'd be much nicer to have the ability to switch directly with a keyboard shortcut!
Locked