Adicionando aspas (") ao redor do texto selecionado:
F1::
ClipSaved := ClipboardAll ; save the entire clipboard to the variable ClipSaved
clipboard := "" ; empty the clipboard (start off empty to allow ClipWait to detect when the text has arrived)
Send, ^c ; copy the selected text
ClipWait, 1 ; wait for the clipboard to contain data
if (!ErrorLevel) ; if NOT ErrorLevel, clipwait found data on the clipboard
clipboard = "%clipboard%" ; add the quotation marks
Sleep, 300
Send, ^v
Sleep, 300
clipboard := ClipSaved ; restore original clipboard
return
Para colocar o texto selecionado entre [quote] e [/ quote] , use outra tecla de atalho e o mesmo procedimento. Apenas substitua clipboard = "%clipboard%"
por clipboard = [quote]%clipboard%[/quote]
no código acima.
Para digitar ou colar texto entre [quote] e [/ quote], use este:
F2:: SendInput, [quote][/quote]{Left 8}