Search the Community
Showing results for tags 'ControlSend()'.
-
Hi There ! I have a script here : ;Launch CMD Run("C:\Windows\System32\cmd.exe") sleep(2000) $cmdHandle = WinActivate("C:\Windows\System32\cmd.exe") Sleep(2000) ;Sending document ControlSend($cmdHandle, "", "", "ftp" & @CRLF) ControlSend($cmdHandle, "", "", "open" & @CRLF) Sleep(2000) ControlSend($cmdHandle, "", "", "first command" & @CRLF) Sleep(2000) ControlSend($cmdHandle, "", "", "second-coomand" & @CRLF) first-command and second-command I can't provide cause it's internal. I have complied this .au3 file into an exe an
-
Hey everyone I want to be able to press a button within a application however so far what I have tried does not seem to be working. I have successfully made the application (window) active, but when I try: WinActivate("- AdwCleaner - v4.109") WinWaitActive("- AdwCleaner - v4.109") send("{Tab}{Space}") ; even ("{TAB}{SPACE}") WinActivate("- AdwCleaner - v4.109") WinWaitActive("- AdwCleaner - v4.109") ControlSend("- AdwCleaner - v4.109", "", "[CLASSNN:Button3]", "{SPACE}") WinActivate("- AdwCleaner - v4.109") WinWaitActive("- AdwCleaner - v4.109")
- 5 replies
-
- ControlSend()
- Send()
-
(and 1 more)
Tagged with:
-
So I basically just want to automate a quick website login. I know I can use Send() and it works fine but I want to be able to use ControlSend() for this. There is one specific special character that is giving me trouble. The good old @. I just can't controlsend this. It doesnt matter if I use the raw(1) or default(0) flag. For special characters like "!" I can just workaround and use "+1" = (Shift +1) instead. But for "@" I can't use "^!q" = (CTRL+ALT+q). (I got a german keyboard, the english "+2" = (Shift +2) is not working) Examples: ControlSend($hwnd, "", "", "mail@box.com"