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

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

问题描述

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

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

基本上,我已经制作了一个网络播放器应用,并在播放器窗口中打开了较小的窗口,可以按alt +退格键,当窗口获得焦点时它将静音和取消静音. (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)

活动窗口信息说:

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

我希望脚本仅适用于该URL. 我试图将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天全站免登陆