Jump to content

How to read text of thirdparty apps tray icons


ur
 Share

Recommended Posts

I need to read the status of OneDrive icon running in the taskbar and update the status in a log file.

2nd part I can complete :)

But the first part, how to read the status of tray menu icon.

Capture.PNG

I need the text above from the tray icon.

I looked into , but not that helpful.

 

 

Link to comment
Share on other sites

On 12/13/2017 at 6:41 PM, Earthshine said:

You can use log4a.au3 then log everything you do. Log variclbles and their values, etc

search also for ProcessGetCpu udf here as well

THanks @Earthshine.
I got a code snippet in powershell for this.

I didn't tried your au3 file yet, as the powershell one is simple one line command.

Present, I am calling the powershell from my au3 file and waiting till the powershell code completes.

THis is the powershell library I am using.

https://github.com/rodneyviana/ODSyncService


THis is the code sample.
https://blogs.msdn.microsoft.com/rodneyviana/2017/06/06/powershell-cmdlet-to-check-onedrive-for-business-or-onedrive-personal-status/

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...