![]() ![]() MainFunc ( ) Func MainFunc ( ) If ProcessExists ( "NPE.exe" ) = 0 Then ShellExecute ( "C:\temp\NPE.exe" ) EndIf Sleep ( 5000 ) WinWait ( "Norton Power Eraser" ) WinActivate ( "Norton Power Eraser" ) WinWaitActive ( "Norton Power Eraser" ) Sleep ( 5000 ) If WinExists ( "Norton Power Eraser" ) Then WinActivate ( "Norton Power Eraser" ) Local $hWindow = WinGetHandle ( "Norton Power Eraser" ) If Not $hWindow Then Return ConsoleWrite ( "Window handle ERR" & ) ConsoleWrite ( "Window handle OK" & ) Create UI Automation object Local $oUIAutomation = ObjCreateInterface ( $sCLSID_CUIAutomation, $sIID_IUIAutomation, $dtagIUIAutomation ) If Not IsObj ( $oUIAutomation ) Then Return ConsoleWrite ( "UI Automation object ERR" & ) ConsoleWrite ( "UI Automation object OK" & ) Get UI Automation element from window handle Local $pWindow, $oWindow $oUIAutomation. Other names may be trademarks of their respective owners.Expand collapse popup #include #RequireAdmin The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Microsoft and the Window logo are trademarks of Microsoft Corporation in the U.S. Alexa and all related logos are trademarks of, Inc. App Store is a service mark of Apple Inc. Mac, iPhone, iPad, Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. Android, Google Chrome, Google Play and the Google Play logo are trademarks of Google, LLC. Firefox is a trademark of Mozilla Foundation. ![]() or its affiliates in the United States and other countries. NortonLifeLock, the NortonLifeLock Logo, the Checkmark Logo, Norton, LifeLock, and the LockMan Logo are trademarks or registered trademarks of NortonLifeLock Inc. LifeLock identity theft protection is not available in all countries.Ĭopyright © 2023 NortonLifeLock Inc. The Norton and LifeLock Brands are part of NortonLifeLock Inc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |