autohotkey
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
autohotkey [2015/03/09 17:56] – [HotKeys] ginko | autohotkey [2015/03/09 18:34] (current) – [Functions] ginko | ||
---|---|---|---|
Line 31: | Line 31: | ||
Un [[http:// | Un [[http:// | ||
+ | ===== Auto Reload ===== | ||
+ | A insérer dans le script lui-même. Ne pas oublier d' | ||
+ | <code autohotkey> | ||
+ | WinGetActiveTitle, | ||
+ | If InStr(Reload, | ||
+ | Reload | ||
+ | Return</ | ||
+ | Fonctionne avec SciTE4AutoHotkey et Notepad++ at least. | ||
===== Syntaxe ===== | ===== Syntaxe ===== | ||
==== Affectation ==== | ==== Affectation ==== | ||
Line 56: | Line 64: | ||
* faire un hotlink sur '' | * faire un hotlink sur '' | ||
* faire un hotlink sur '' | * faire un hotlink sur '' | ||
+ | |||
+ | ==== Functions ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | |||
+ | Petit précis : | ||
+ | <code autohotkey> | ||
+ | { | ||
+ | if (Var1 = " | ||
+ | { | ||
+ | Var3 := 5 * Var2 | ||
+ | return Var3 | ||
+ | } | ||
+ | else if (Var1 = " | ||
+ | return true | ||
+ | else | ||
+ | return false | ||
+ | }</ | ||
+ | ==== Clipboard ==== | ||
+ | [[http:// | ||
+ | <code autohotkey> | ||
+ | clipboard = ; Empty the clipboard. | ||
+ | clipboard = %clipboard% | ||
+ | clipboard = %clipboard% Text to append. | ||
+ | StringReplace, | ||
===== Travailler avec des buffers ===== | ===== Travailler avec des buffers ===== | ||
Un design pattern qui marche assez bien consiste à sérialiser des données dans des buffers ficher séparés via une ou plusieurs HotKeys puis de les utiliser dans d' | Un design pattern qui marche assez bien consiste à sérialiser des données dans des buffers ficher séparés via une ou plusieurs HotKeys puis de les utiliser dans d' |
autohotkey.1425920175.txt.gz · Last modified: 2015/03/09 17:56 by ginko