Help with Ping
AnnoyingRains
annoyingrain5 at gmail.com
Fri Sep 1 03:00:09 BST 2023
This is possible if you have an android phone.
You will need to enable the "Send Notifications" Plugin in KDE connect.
Once you have done that, all you need to do is send a windows notification,
which can be done using the powershell code snippet below:
[void]
> [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
>
> $objNotifyIcon = New-Object System.Windows.Forms.NotifyIcon
>
> $objNotifyIcon.Icon = [System.Drawing.SystemIcons]::Information
> $objNotifyIcon.BalloonTipIcon = "Info"
> $objNotifyIcon.BalloonTipText = "The task has been completed!"
> $objNotifyIcon.BalloonTipTitle = "Task completed"
> $objNotifyIcon.Visible = $True
>
> $objNotifyIcon.ShowBalloonTip(10000)
> Start-Sleep 500
>
I hope this helps!
- Kye Potter
On Sat, Aug 26, 2023 at 8:36 AM Muhammad Yousuf Khan <
yousuf.saqib7feb at gmail.com> wrote:
> Hey there, nice to meet you! I'm Muhammad Yousuf Khan, and I work as an
> Email marketer. My job involves finding emails and sending out promotional
> messages. But let me tell you, hunting for those emails gets really boring
> and repetitive. So, I came up with a solution. I recorded a series of
> actions using a macro, and then I created a script using AHK (AutoHotKey)
> that plays back the macro. Now, when I use the script, I just have to
> specify how many times the macro should be repeated.
>
> However, I have a little request. I'd love to receive a notification on my
> Android phone from my PC when the work is done. Basically, I'm looking for
> a way to make my PC "ping" my phone to let me know that the task is
> finished. If you know of any batch file or method that can help me achieve
> this, I'd really appreciate it. Just something simple that my script can
> execute to trigger the notification on my phone would be fantastic. Thanks
> in advance!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20230901/2ec14962/attachment.htm>
More information about the KDEConnect
mailing list