Results 1 to 3 of 3

Thread: Inconsistent Sorting of Images

  1. #1
    IV Newbie
    Join Date
    May 2019
    Location
    Vietnam
    Posts
    2
    Version
    IrfanView 4.51
    OS
    Win 10

    Default Inconsistent Sorting of Images

    I have a folder with images I received from weather satellites.
    Layout of the name yymmdd-hhmm xxxxxxxxxxxx.jpg"

    I made a script in AutoHotKey (a scripting language) with as command:
    Run C:\.... \i_view64.exe “C:\...\images\*.jpg
    Works perfect.

    It starts with the last received image and I can scroll back with the mouse wheel to previous days and images.

    I also have a folder with weather maps I received from the program Digital Atmosphere.
    Layout of the name yy-mm-dd-hhmm xxxxxxxxxxxx.jpg"

    I also made a script in AutoHotKey with almost the same command:
    Run C:\.... \i_view64.exe “C:\...\maps\*.jpg

    Strange enough this start with the first (=oldest) file in the folder and I must scroll in the opposite direction. As I am interested in the most recent maps this is “not ideal”.

    In Windows Explorer I sorted both folders on name. Same in IrfanView.
    Still a different behaviour.

    Does anybody know a solution (or the reason)?

    IV 4.52 & W-10 Pro

    Edit
    Executing the command outside the script gives the same result.
    Last edited by FredVN; 14.05.2019 at 07:54 AM. Reason: Fixed typos

  2. #2
    Hobby User Kuki Dent's Avatar
    Join Date
    Jun 2010
    Location
    Germany, Lower Saxony
    Posts
    190
    Version
    IrfanView 4.51
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    Hi,
    1: Windows or your file manager may have a different handling of hyphens in filenames than IrfanView.
    2: As long as you do not have an identical layout for the filenames the files will not be sorted the same way, regardless which application you use.
    When the power of love overcomes the love of power, the world will know peace - Jimi Hendrix

  3. #3
    IV Newbie
    Join Date
    May 2019
    Location
    Vietnam
    Posts
    2
    Version
    IrfanView 4.51
    OS
    Win 10

    Default

    Thanks for your answer.
    I did some testing again. I also removed the stop at the end of all the photos in one of the settings screen.
    I still get the wrong photo to start but scrolling into the right direction will now give me the last received photo.
    This workaround is now OK for me.

    Topic is solved. How can I do that by myself?
    Last edited by FredVN; 15.05.2019 at 05:25 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •