Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Here you are welcome to discuss items of general interest related to Push2Run
LazySpaniard
Posts: 18 Joined: Mon Dec 19, 2022 12:22 am
Post
by LazySpaniard » Fri Mar 15, 2024 1:37 pm
I've even tried an easier case just using a lower-case "m" to mute Youtube but it still doesn't work.
What am I doing wrong here?
Code: Select all
{
"Description": "Toggle Teams Mute",
"ListenFor": "toggle teams mute",
"Open": "Active Window",
"StartDirectory": "",
"StartWithAdminPrivileges": "false",
"StartingWindowState": "3",
"Parameters": "",
"KeysToSend": "{WAIT2000}{CTRL}{SHIFT}{M}"
}
RobLatour
Site Admin
Posts: 1016 Joined: Mon Feb 19, 2018 11:43 am
Post
by RobLatour » Sat Mar 16, 2024 11:07 am
Hi,
I just gave it a test and had it work for me.
Of note: the YouTube video, running for example in Chrome, has to be the active window - that is to say the window that is in focus.
For the keys to send, I just used a single lower case m:
m
Although I also tested with what you had:
{WAIT2000}{CTRL}{SHIFT}{M}
and it worked as well.
Having that said, valid values for the wait command are between: {WAIT000} and {WAIT999} - so the wait is unlikely behaving like you expect.
Hope this helps.