Menu

#69 "next image" does not follow windows explorer "sort by" preference.

Next release
open
nobody
None
5
2021-09-20
2021-09-11
Greg Dillon
No

No matter what i select, be it Sort by: Name or Type or Size or Date modified etc., the next image using jpegview is always the same. How can i make it so that "next image" always follows windows explorer "sort by" preference.
Please help.

Discussion

  • Melvin Nava

    Melvin Nava - 2021-09-19

    Is there any image viewer that does that at all?..

    You can set the default order in JPEGView.ini(FileDisplayOrder)..

    You can also set hotkeys in KeyMap.txt to change faster the current display order.. With this you'd just have to press C to order by creation date, N by Name or S by Size.

    C       IDM_SORT_CREATION_DATE
    M       IDM_SORT_MOD_DATE
    N       IDM_SORT_NAME
    R       IDM_SORT_RANDOM
    S       IDM_SORT_SIZE
    

    Note: Make sure no other hotkey is using the same shortcuts.

    I don't think there's any image viewer (that I know of) that does what you ask (follow the Explorer "sort by" preference). File Explorer is independent from other software and each instance of the same folder can be sorted differently. However, I don't think it would be impossible, just not easy. Perhaps one could implement ShellWindows object in C++ to get a ShellFolderView setting for an open window, or try to access the folder "Sort By" setting from the Windows Registry using a scripting language like VBScript or AutoHotkey. And then open JPEGView with the same "sort by" setting. Perhaps It would also be possible to make a script that does both things: Order the specified folder as required and then open JPEGView (or other viewer) with that same "order by" setting.

    Is just more practical to use hotkeys.

     

    Last edit: Melvin Nava 2021-09-19
  • Greg Dillon

    Greg Dillon - 2021-09-19

    "ImageGlass" does that.

     
    • Melvin Nava

      Melvin Nava - 2021-09-20

      Mmm, interesting.. thank you for the tip.. I just tried it and it works.

      I haven't seen that feature in JPEGView (or any other viewer). But you could use ImageGlass when you need it. Just create an additional context menu for images.

       

      Last edit: Melvin Nava 2021-09-20

Log in to post a comment.

MongoDB Logo MongoDB