Jump to content

Nvidia Inspector automation

Recommended Posts


Dear all,

I'm new in the autoit world and I would like to automate the Overclocking of graphic card. The program use is the NVIDIA Inspector but when I try to send any type of input to the application, it doesn't do anything.

Here under is a piece of code used to try, but nothing seems to work. Do you have any idea why it's not working?

   Local $i = 0
   Local $hWnd = WinWait("[CLASS:WindowsForms10.Window.8.app.0.34f5582_r6_ad1]","",5)
   if $hWnd = 0 Then
    MsgBox($MB_SYSTEMMODAL, "Error", "Not able to get the application", 10)
      While Not WinActive($hWnd)

      ;open overcloking window
      ;ControlClick($hWnd, "", "[CLASS:WindowsForms10.BUTTON.app.0.34f5582_r6_ad1; INSTANCE:42]","Left", 1)
      ;ControlClick($hWnd, "", "[CLASS:WindowsForms10.COMBOBOX.app.0.34f5582_r6_ad1; INSTANCE:1]","Left", 1)
      MouseClick($MOUSE_CLICK_LEFT, 756, 280, 2)
      MouseClick($MOUSE_CLICK_LEFT,  280,756, 2)
      ;Send("{ENTER} up")
      ;Controlsend($hWnd, "", "","{ENTER}", 1)


Thanks for you help.

Share this post

Link to post
Share on other sites

@yuna welcome to the forum. "doesn't work" doesn't usually help much. How about some idea of where your code is failing? For example:

  • Does the initial WinWait work, or do you get the MsgBox?
  • I see you have the two ControlClick's commented out, is the Mouse Clicking at the coordinates you show?
  • Try one MouseClick at a time rather than one right after another

In essence, the more information you can provide us with, the less guessing we have to do and the more we can help 

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post

Link to post
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