我想在Firefox中启动两个快捷方式,紧接着另一个。第一个是来自Web Developer插件的自定义操作之一。第二个是简单的F5来刷新页面。有没有办法只使用一个命令或按钮或其他东西运行这两个。也许JavaScript书签可以。我真的不知道任何事情所以所有的帮助表示赞赏!
提前致谢!
如果要在Firefox中一次运行两个快捷方式命令。
您可以使用此Autohotkey脚本。
;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