<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Ahmad,<br></div><div><br></div><div>That's really a question for Foliate developers, but I would guess the answer will be no. GUI applications don't usually expose a lot of information to D-Bus.<br></div><div><br></div><div>Best wishes,<br></div><div>Thomas<br></div><div><br></div><div>On Tue, 9 May 2023, at 13:48, Ahmad Ismail wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Is there any dbus command which I can use to get the window IDs and paths of files opened by Foliate.<br></div><div><br></div><div>Here is a d-feet screenshot.<br></div><div><br></div><div><div><img src="cid:ii_lhg9nymq1" alt="window.png" width="412" height="217"><br></div><div><br></div><div>As you can see, it identifies the windows.<br></div></div><div><br></div><div>I have used `dbus-monitor --session > dbus-log.txt` (the file is attached bellow) and found out that file paths are there. Not understanding how to extract them.<br></div><div><br></div><div><div>I could not find the window ids though.<br></div><div><br></div><div>I have also found that dbus-send --session --print-reply --dest=com.github.johnfactotum.Foliate /com/github/johnfactotum/Foliate org.freedesktop.DBus.Introspectable.Introspect works.<br></div></div><div><br></div><div><div>Is there any dbus command which I can use to get the window IDs and paths of files opened by Foliate.<br></div><div><div><br></div><div><div dir="ltr" class="qt-gmail_signature"><div dir="ltr"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="color:rgb(0, 0, 0);background-color:transparent;font-weight:400;font-style:normal;font-variant-caps:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:currentcolor;text-decoration-thickness:auto;vertical-align:baseline;white-space:pre-wrap;"><span class="font" style="font-family:Arial;"><span class="size" style="font-size:10pt;">Thanks and Best Regards,</span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="color:rgb(0, 0, 0);background-color:transparent;font-weight:400;font-style:normal;font-variant-caps:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:currentcolor;text-decoration-thickness:auto;vertical-align:baseline;white-space:pre-wrap;"><span class="font" style="font-family:Arial;"><span class="size" style="font-size:10pt;">Ahmad Ismail</span></span></span><br></p></div></div></div></div></div></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>dbus-log.txt<br></li></ul></blockquote><div><br></div></body></html>