Find open window titles in Image Eye viewer
Posted: 20 May 2025 15:11
Hey everyone. Wow, it's been slow in here for awhile.
I've been trying to obtain the filesnames open in my image viewer (Image Eye.exe) using cmd /c tasklist, but I've only been able to retreive output of one of the open files, not multiple filenames. Each image is in a separate Image Eye window which can be closed independently. In running Task Manager, it will look similar like what I clipped below. Which is also similar to how multiple instances of XYplorer will be seen. I know we can deternine using tasklist if multiple XYplorer instances are open.
I know that tasklist is also capable finding the number of instances of a running program like XYplorer because we've done something along these lines here viewtopic.php?p=209944#p209944
This is the kind of output I can get but it only list one image file when there are multiplesimage files open.
I've been trying to obtain the filesnames open in my image viewer (Image Eye.exe) using cmd /c tasklist, but I've only been able to retreive output of one of the open files, not multiple filenames. Each image is in a separate Image Eye window which can be closed independently. In running Task Manager, it will look similar like what I clipped below. Which is also similar to how multiple instances of XYplorer will be seen. I know we can deternine using tasklist if multiple XYplorer instances are open.
cmd /c tasklist /v /fi "imagename eq Image Eye.exe" | findstr /i "Image"I know that tasklist is also capable finding the number of instances of a running program like XYplorer because we've done something along these lines here viewtopic.php?p=209944#p209944
This is the kind of output I can get but it only list one image file when there are multiplesimage files open.
I was hoping to be able to reactivate any open Image Eye window (using nircmd with run '"D:\Tools\NirCMD\nircmd.exe" win activate ititle "' . $file . '"'; That works but I need to get a listing of the open window titles when there are more than one instance of Image Eye open. Chatgpt was helpful but had no success with this. If I can't use tasklist maybe I'd have to go with AHK, but I was hoping not.set
----
$check
----
"Image Name","PID","Session Name","Session#","Mem Usage","Status","User Name","CPU Time","Window Title"
"Image Eye.exe","32516","Console","1","74,872 K","Running","DELL-XP-8930\Ken","0:00:00","merry_christmas_16x9.jpg | Image Eye"