If I understand correctly, you could associate image files with JPEGView and the program would activate when double clicking images. Same if the program was minimized - it switches the images but stays minimized.
XNVIEWMP RENAME CODES WINDOWS
In simple words - it doesn't move to the foreground to show us the new image as we would expect and if you have many windows obscuring it you wont see any reaction from JPEGView at all. What I mean is while we have one instance opened it doesn't regain focus on new images. The program is configured to use one instance. The images are associated with JPEGView and the program does open on double click. For example, I have all images associated with XnViewMP and all videos with PotPlayer. I actually use AHK to bind both the MIDDLE MOUSE BUTTON and NUMPAD ENTER to open folders and filetypes with different programs. You could try running sfc /scannow in an elevated prompt and restarting. I don't actually have JPEGView associated to test it, but it doesn't seem like an issue with JPEGView, but possibly with FileExplorer, Windows, or other program.
XNVIEWMP RENAME CODES SOFTWARE
Or a different software like XnViewMP whenever you want to have image previews. You could still use AHK for this functionality. Even with my alternative hotkeys JPEGView does open in the background. JPEGView does open files in the background. JPEGView does open files in the background (when it's already running).
![xnviewmp rename codes xnviewmp rename codes](https://i.ytimg.com/vi/pk_dewkxfxg/maxresdefault.jpg)
However, you could still use AHK for this functionality. I guess I hadn't realize I needed this too. Jaja, I've just adapted WinActivate into my AHK hotkeys and JPEGView now opens in the foreground. I actually use AHK to bind both the MIDDLE MOUSE BUTTON and NUMPAD ENTER to open folders. Important: I checked again and this is not an issue with Windows but normal JPEGView behavior. Basically I thought maybe there is an easy solution to this without messing with focuses of the window - to close existing instance and open new one every time i click on other image. If you can see the GIF I supplied - JPEGView perfectly goes to the foreground on start but if I switch to another window it wont regain focus automatically when new images are opened, it wont " refresh " focus.
![xnviewmp rename codes xnviewmp rename codes](https://i.stack.imgur.com/tsZdk.gif)
Thanks again for your reply and for the script. I've tested it and can also be easily done in VBScript: '** '** Open file in JPEGView and bring it to the foreground: '** $ OpenJpegView.vbs file.jpg '** Dim objShell Set objShell = CreateObject("WScript.Shell") objShell.Run "D:\path\to\JPEGView.exe " & Wscript.Arguments(0), 9, False WScript.Sleep(20) objShell.AppActivate "JPEGView" So this way you could associate your images with a VBScript instead.
![xnviewmp rename codes xnviewmp rename codes](https://www.educba.com/academy/wp-content/uploads/2020/04/PowerShell-Rename-Folder-3.2-768x336.png)
If the AHK hotkey works for you, you have a solution. I've tested it and can also be easily done in VBScript: '** '** Open file in JPEGView and bring it to the foreground: '** $ OpenJpegView.vbs file.jpg '** Dim objShell Set objShell = CreateObject("WScript.Shell") objShell.Run "D:\path\to\JPEGView.exe " & Wscript.Arguments(0), 9, False WScript.Sleep(20) objShell.AppActivate " - JPEGView" So this way you could associate your images with a VBScript instead. It would be AWESOME and pretty unic to add this option to your interface! THANKSSSS ! Most of the camera embeded software have the ability to give a star amount to give a grade for each picture to retrieve more easily datas within the cameraroll. Hi! Up Up on this topic, maybe I have a chance to bring it back to life! I don't know if my explanation was clear enough.