Holds down a key on a few minimized window and writing handler as a number
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By llssff
My current script:
```
$notepadWindow = RunWait('notepad.exe')
ControlSend($notepadWindow, "Edit1", "", "abcde")
WinSetState($notepadWindow, "", @SW_MINIMIZE)
```
I can't seem to get these three lines to work. Its supposed to run a notepad window, then enter "abcde", followed by minimizing it.
Currently it just opens and nothing happens.
What am I doing wrong here?
-
By Bhooshan
I need to mute an ongoing call on Microsoft teams without activating the window. Teams allows us to mute using shortcut key Ctrl+Shift+m but only when the window is active.
# Used set option as ongoing call can be with any person which leads to change in Title Name.
AutoItSetOption ( "WinTitleMatchMode", 2 )
# I am not clear with the control ID which will be good to use here and also the key combination of ^M
ControlSend ( "Microsoft Teams", "", "[CLASS:Intermediate D3D Window; INSTANCE:1]", "{ctrl down}")
Can anyone help...!!!
-
By SkysLastChance
I must be missing something. I have had this problem multiple times. Why does F6 key not send 6 times?
Not working
ControlSend("[CLASS:#32770]", "", "", ("{F6 6}")) Working
ControlSend("[CLASS:#32770]", "", "", ("{F6}")) ControlSend("[CLASS:#32770]", "", "", ("{F6}")) ControlSend("[CLASS:#32770]", "", "", ("{F6}")) ControlSend("[CLASS:#32770]", "", "", ("{F6}")) ControlSend("[CLASS:#32770]", "", "", ("{F6}")) ControlSend("[CLASS:#32770]", "", "", ("{F6}"))
-
By faustf
hi guys
i have a script like this, in windows 7 work perfect , in windows 10 not work , some one can explain me why ??'
#include <Array.au3> #include <MsgBoxConstants.au3> Global $aGPathFoto= FileReadToArray (@ScriptDir & "\TEMP\PathFoto.txt") Local $ctrl = 0 While 1 Local $hWnd = WinWait("[CLASS:#32770]", "", 10) If WinExists("[CLASS:#32770]") Then If $ctrl < 2 Then ControlSend($hWnd, "Choose File to Upload", "[CLASS:Edit; INSTANCE:1]", $aGPathFoto[0]&"{Enter}") Exit $ctrl += 1 Else ExitLoop EndIf EndIf WEnd $aGpathfoto = C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.jpg
-
By SkysLastChance
Run("notepad.exe") GLOBAL $One = ('Line1' & _ 'Line2' & _ 'Line3' & _ 'Line4' & _ 'Line5') ClipPut($One) $Notepad = WinWait("[CLASS:Notepad]", "", 10) ControlSend("Untitled - Notepad", "", "", ("^v")) Instead of having this paste as Line1Line2Line3Line4Line5
How can I make it paste it into notepad as (without double spacing.)
Line1
Line2
Line3
Line4
Line5
-
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