<div dir="ltr">Thank you very much.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Best Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ahmad Ismail</span></p></b></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 22, 2023 at 8:19 AM Lawrence D'Oliveiro <<a href="mailto:ldo@geek-central.gen.nz">ldo@geek-central.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 21 Jul 2023 15:31:52 +0600, Ahmad Ismail wrote:<br>
<br>
> ... dbus-send ... gives output like<br>
><br>
> int32 4<br>
><br>
> Here I only need "4". I do not need the data type.<br>
<br>
Write your own dbus-send alternative. How hard could it be<br>
<<a href="https://github.com/ldo/dbussy_examples/blob/master/call" rel="noreferrer" target="_blank">https://github.com/ldo/dbussy_examples/blob/master/call</a>>?<br>
<br>
    ldo@theon:~> call --json session org.kde.KWin /KWin org.kde.KWin currentDesktop<br>
    [1]<br>
    ldo@theon:~> call --json session org.kde.KWin /KWin org.kde.KWin currentDesktop | jq '.[0]'<br>
    1<br>
</blockquote></div>