How do I enable debug log output in ImageGlass ?
I have a strange problem in combination of ImageGlass and LotusNotes and would like to check what command is ImageGlass executed...
Hi @miharix
ImageGlass does not write log at all in the current version. So you can describe the "strange problem" here, I may help you.
Hi @d2phap
when opening attachemnt in mail, when mail has multiple atachments in Lotus
The file is correctly saved in temp folder under AppDataLocalTempnotes_ID_
But, displayed image is allways the first image in this folder, not that user is trying to open.
What you can do is use Process Explorer. You can download it from here.
What Process Explorer will let you do is to see the command line that occurred when ImageGlass was invoked.
For example, here is Process Explorer showing the ImageGlass properties on my system. I invoked ImageGlass by double-clicking an image file in Windows Explorer.

Microsoft also provides another tool called Process Monitor, which I understand can also view the command line. However, it must be running _before_ ImageGlass is invoked.
Hope this helps; let us know what Lotus Notes is doing!
Hi,
still on searching but for now just info where it looks to be the problem
My user name on win is miha.admin when opening from Lotus its calling path
C:UsersMIHA~1.ADMAppDataLocalTempnotes7AC391
and not
C:Usersmiha.adminAppDataLocalTempnotes7AC391
this path shortening seems to be the problem.
My coworker has fund the bug and fixed the problem:
https://github.com/d2phap/ImageGlass/pull/654
Thanks @miharix so much
I will take a look!
Merged the PR. Thanks!
Most helpful comment
What you can do is use Process Explorer. You can download it from here.
What Process Explorer will let you do is to see the command line that occurred when ImageGlass was invoked.
The command line used to invoke ImageGlass is shown.
For example, here is Process Explorer showing the ImageGlass properties on my system. I invoked ImageGlass by double-clicking an image file in Windows Explorer.
Microsoft also provides another tool called Process Monitor, which I understand can also view the command line. However, it must be running _before_ ImageGlass is invoked.
Hope this helps; let us know what Lotus Notes is doing!