Javascript 在Firefox中同时运行两个快捷方式命令
我想在Firefox中启动两个快捷键,一个接一个。第一个是来自WebDeveloper插件的自定义操作。第二个是刷新页面的简单F5。有没有一种方法可以只使用一个命令或一个按钮或其他什么来运行这两个程序。也许JavaScript书签可以。我真的什么都不知道,所以非常感谢大家的帮助 提前感谢 您可以使用使用一个键盘快捷键设置多个命令 查看此示例以获取帮助。(这相当容易做到。)Javascript 在Firefox中同时运行两个快捷方式命令,javascript,firefox,command,keyboard-shortcuts,Javascript,Firefox,Command,Keyboard Shortcuts,我想在Firefox中启动两个快捷键,一个接一个。第一个是来自WebDeveloper插件的自定义操作。第二个是刷新页面的简单F5。有没有一种方法可以只使用一个命令或一个按钮或其他什么来运行这两个程序。也许JavaScript书签可以。我真的什么都不知道,所以非常感谢大家的帮助 提前感谢 您可以使用使用一个键盘快捷键设置多个命令 查看此示例以获取帮助。(这相当容易做到。) 如果您想在Firefox中同时运行两个快捷键命令 您可以使用此自动热键脚本 ;GroupAdd, Browser, ahk_
如果您想在Firefox中同时运行两个快捷键命令 您可以使用此自动热键脚本
;GroupAdd, Browser, ahk_class Chrome_WidgetWin_1 ; Chrome or Iron
;GroupAdd, Browser, ahk_class IEFrame ; Internet Explorer
GroupAdd, Browser, ahk_class MozillaWindowClass ; FireFox
;GroupAdd, Browser, ahk_class ApplicationFrameWindow ; Edge
; Click on the keyboard Ctrl+Shift+e
; if Firefox browser is active then execute the two Shortcuts Commands.
^+e::
; [+ = Shift] [! = Alt] [^ = Ctrl] [# = Win]
If WinActive("ahk_group Browser")
{
send ^+i ;The first shortcut Command = open the inspector
sleep 150
send {f5} ;The second shortcut Command = Refresh the Page in Browser
}
return
esc::exitapp