; -------------------------------------------------------------
; print help text for this script
^#h::
{
MsgBox Ctrl+Win+S: salva in scratchpad.txt`n
Ctrl+Win+U: converte in maiuscolo`n
Ctrl+Win+L: converte in minuscolo`n
Ctrl+Win+G: cerca con Google`n
Ctrl+Win+T: circonda con tag
}
; -------------------------------------------------------------
; append selected text to DESKTOP/scratchpad.txt
^#s::
{
Send ^c
ClipWait
FileAppend, %clipboard%`n, %A_Desktop%/scratchpad.txt
return
}
; -------------------------------------------------------------
; converts selected text to upper case
^#u::
{
Send ^c
ClipWait
StringUpper, up, clipboard
Send %up%
return
}
; -------------------------------------------------------------
; convert selected text to lower case
^#l::
{
Send ^c
ClipWait
StringLower, low, clipboard
Send %low%
return
}
; -------------------------------------------------------------
; search selected text in google
^#g::
{
Send ^c
ClipWait
Run http://www.google.com/search?q=%clipboard%
return
}
; -------------------------------------------------------------
; surround selected text with tag
^#t::
{
Send ^c
ClipWait
InputBox, tag , Tag
Send <%tag%>%clipboard%</%tag%>
return
}
; -------------------------------------------------------------
; zahada
^#z::
{
InputBox, soluzione , Soluzione
Run http://www.mcgov.co.uk/riddles/%soluzione%.html
return
}
martedì 10 marzo 2009
Autohotkey
Ero riluttante all'idea di inserire l'ennesimo programmino nella mia tray, ma devo ammettere che AutoHotKey è abbastanza leggero (poco più di 3.5MB di RAM), utile e divertente da usare. Permette di creare facilmente delle macro da associare a combinazioni di tasti. Ecco lo script che uso quotidianamente:
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento