2017-02-20 8 views
0

Firefoxに私が起動したいショートカットが2つあります。最初のものは、Web Developerアドオンのカスタムアクションです。 2番目は単純なF5でページを更新します。単一のコマンドやボタン・プレスなどを使って両方を実行する方法はありますか?たぶんJavaScriptのブックマークが可能です。私はそれについて何も知らないので、すべての助けに感謝しています!Firefoxですぐに2つのショートカットコマンドを実行します。

ありがとうございました!

答えて

0

AutoHotKeyを使用すると、1つのキーボードショートカットで複数のコマンドを設定できます。

この例でヘルプを確認してください。 (それを行うには非常に簡単です。)

Multiple Commands to Single Hotkey

0

一度Firefoxでの2つのショートカットコマンドを実行したい場合。

この自動ホットキースクリプトを使用できます。

;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 
関連する問題