Announcement

Collapse
No announcement yet.

Inconsistent Sorting of Images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Solved 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, 08:54 AM. Reason: Fixed typos

    #2
    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.
    Win 10/64 Home 22H2 IrfanView 4.66/64
    Hate has caused a lot of problems in this world, but it has not solved one yet. (Maya Angelou)

    Comment


      #3
      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, 06:25 AM.

      Comment

      Working...
      X