Announcement

Collapse
No announcement yet.

"Unknown file format or file not found" automatic killer

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

    "Unknown file format or file not found" automatic killer

    It's a silly little thing, but everyone hates the constantly popping up error.

    I made an AutoIt3 script and compiled EXEs that will automatically click off the "Unknown file format or file not found" error message when IV encounters a clinker. Use clickIVerr_9x.exe for Windows98 and older. They have been tested in winXP and 98.


    for Win98/95


    Just unzip the exe file in a handy place (the IrfanView folder, your desktop, whatever). Make a shortcut to it or add it to your favorite file launcher. The program has no user interface, it just sits in the tray and waits for the error message - then it simulates an "Enter" key press. Right-click the tray icon for an exit menu.

    I could make an automatic installer for it, but it hardly seems worthwhile.

    If you have Autoit - or want to download it and learn to do it yourself - here is the script - copy and paste it into a text editor, save as a_name_you_like.au3

    The script:
    Code:
    #cs ----------------------------------------------------------------------------
    
     AutoIt Version: 3.2.2.0
     Author:         Matera the Mad
    
     Script Function:
    	IrfanView error clickoff.
    
    #ce ----------------------------------------------------------------------------
    
    ; Script Start
    
    WinExists("IrfanView")
    While WinWaitActive("IrfanView","Unknown file format or file not found") 
    Send("{ENTER}")
    WEnd
    The script uses the only part of the window's text that is always the same, the second line, to differentiate between the error message and the main IV window. They both have the same title.

    by Matera the Mad
    Open Source Mind
    6/21/2007
    Its: Belongs to "It"
    It's: Shortened form of "It is"
    ---------------------
    Lose: Fail to keep
    Loose: Not tight

    ---------------------
    Plurals do not require apostrophes
Working...
X