Sign in to follow this
Followers
0
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
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
-
By lganta
Hello!
I created some scripts for a simple farming bot a few years ago and they rely on ControlSend.
A year ago I quit that game and then installed Windows 10 (was using windows 7).
Recently I installed that game and tried running them again and they seem to work (I have some messages displayed on the screen with the state of the bot ), except for the ControlSend part (which obviously is crucial).
I started debugging the scripts so I created a basic script that makes use of Send. I tested this with Notepad in focus and works just fine and then with my game window in focus and it didn't work (it's supposed to write that text in an input box from the game).
#include <MsgBoxConstants.au3> Sleep(3000); Send("some text"); MsgBox($MB_OK, "Notification", "Control was sent!");
Is there a way for the creators of the game to create some kind of security system against this? Or something happens because I updated to Windows 10?
Is there something I'm missing?
Thank you!
-