AutoHotkey - touche ² pour l'intégrateur web
Ce script AHK utlise la touche ² pour rafraîchir le navigateur Firefox (F5) ou mieux sauvegarder le fichier N++/PSPad/Intype ouvert, revient à Firefox et le rafraîchit.
HTML
<h1>Voir le panneau JS pour le script AutoHotKey</h1>
<p>Coller ce qui se trouve entre les ===== dans un fichier .ahk et le placer dans le dossier Démarrage de Windows</p>
JavaScript
/*
AutoHotKey script, working under Windows XP SP3 (and SP2 previously)
==============================================================================================
; Script Function:
; Sauvegarder fichier, Switch App, Rafraichir dans le navigateur avec la touche ² d'un clavier Azerty
; càd
; Ctrl-S, Alt-Tab, F5 ou Ctrl-R
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode RegEx
;
; Editeur de texte Notepad++
;
#IfWinActive, Notepad++
²::
Send ^s
IfWinExist, Mozilla Firefox
WinActivate, Mozilla Firefox
Send {F5}
IfWinNotActive, Notepad++
return
;
; Spécifique Firefox
;
#IfWinActive , Mozilla Firefox
²::
Send {F5}
return
==============================================================================================
*/