Jump to content

Recommended Posts

Posted
runNotepad()

Func runNotepad()
    Local $PID = Run("Notepad.exe")
    sleep(5000)
    ProcessClose($PID)
EndFunc

 

Here's my code right now. I'd like to attach to Notepad.exe using $PID so when I send mouse clicks and other inputs it'll look inside of the window not just the whole screen resolution. I tried googling for this but couldn't find any relevant information. Thanks!

Posted (edited)
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...