rahulg Posted December 20, 2018 Posted December 20, 2018 I am trying to automate adding license information in Nvidia Control Panel. I am able to reach the Manage License window, but after that I am unable to select the text field to fill the information. Here is the code which I used : Run("C:\Program Files\NVIDIA Corporation\Control Panel Client\nvcplui.exe") sleep(1000) ControlClick("NVIDIA Control Panel","", 105) Sleep(1000) Send("abcd.com") Send("{ENTER}") But its not working. Here I am attaching the snapshot of window. And summary for the window info is as below: Quote >>>> Window <<<< Title: NVIDIA Control Panel Class: Afx:00007FF74A080000:b:0000000000010003:0000000000000006:000000001660034D Position: 19, 80 Size: 974, 718 Style: 0x14CF0000 ExStyle: 0x00010100 Handle: 0x00000000001507D0 >>>> Control <<<< Class: Static Instance: 22 ClassnameNN: Static22 Name: Advanced (Class): [CLASS:Static; INSTANCE:22] ID: 105 Text: Position: 276, 140 Size: 720, 496 ControlClick Coords: 573, 115 Style: 0x54000000 ExStyle: 0x00000004 Handle: 0x00000000008D0390 >>>> Mouse <<<< Position: 857, 306 Cursor ID: 0 Color: 0xFBFBFB >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Select a Task... Select a Task... Left View Adjust image settings with preview Manage 3D settings Change resolution Set up multiple displays Manage License Adjust video color settings Adjust video image settings System Information <a id="LINK_TARGET">System Information</a> {47AADF36-BA70-4E24-BBDE-20EC9FC139FD}:{DFA226E7-D28D-407D-95ED-5A79D9745BB5} License Edition: Your system is licensed for GRID vGPU. Primary License Server: Port Number: Secondary License Server: Port Number: Description: Typical usage scenarios: >>>> Hidden Text <<<< Simple View Pages Apply Bar &Apply Cancel
faustf Posted December 20, 2018 Posted December 20, 2018 try to use 2 script , one open and arrive at window message center , and second script when is open a messge center send a text with controlsend
rahulg Posted December 20, 2018 Author Posted December 20, 2018 2 hours ago, faustf said: try to use 2 script , one open and arrive at window message center , and second script when is open a messge center send a text with controlsend what will be the difference in that case ? And any pointer what should be the ControlSend syntax for it ? I tried : ControlSend("NVIDIA Control Panel","", "","abcd.com{TAB}1234{TAB}{TAB}{ENTER}")
faustf Posted December 20, 2018 Posted December 20, 2018 (edited) for controlsend syntax i suggest use help F1 or google find autoit controlsend syntax maybe you find some , good luck Edited December 20, 2018 by faustf
Bert Posted December 20, 2018 Posted December 20, 2018 Does it have command line support? If yes, then do that. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now