将热键发送到最小化的 chrome 窗口 [英] Send hotkey to minimized chrome window

查看:88
本文介绍了将热键发送到最小化的 chrome 窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个自动热键脚本,它可以将 alt+backspace 发送到最小化的 chrome 窗口(不最大化它).

I need an autohotkey script that can send alt+backspace to a minimized chrome window (without maximizing it).

基本上,我有一个网络播放器应用我已经制作并在播放器窗口中打开较小的窗口,您可以按 alt+backspace,它会在窗口获得焦点时静音和取消静音.(javascript 事件)

Basically, I have a web player app I've made and on the player window which opens in a smaller window, you can press alt+backspace and it will mute and unmute while the window has focus. (javascript events)

活动窗口信息是这样说的:

Active Window Info says this:

>>>>( TitleMatchMode=slow Visible Text )<<<<
player.highstrike.org/play/

我希望脚本仅适用于该网址.我曾尝试将 cmds 发送到该窗口,但无济于事,有人可以帮助我吗?我真的很感激.谢谢.

I would like script to work only for that url. I have tried to send cmds to that window but to no avail, can someone please help me? I'd really apreciate it. Thank you.

推荐答案

我要找的代码是

SetTitleMatchMode, Slow
Return

$!BS::
KeyWait, BS
ControlSend,Chrome_RenderWidgetHostHWND1,!{Backspace},,player.highstrike.org/play/
Return

这篇关于将热键发送到最小化的 chrome 窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆