Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
swiss_virginia
Femeie
25 ani
Cluj
cauta Barbat
27 - 54 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[AUTOHOTKEY] Change Case of Selected Text

Pagini: 1 Moderat de TRaP, TonyTzu
#1
Mrrrr
AdMiN
Postari: 2388
USAGE:

- select text
- press one of the following key combinations for the desired output:
---> ALT + U to convert text to UPPER CASE
---> ALT + L to convert text to lower case
---> ALT + t to convert text to Title Case


!u::goSub, set_upper_case
!l::goSub, set_lower_case
!t::goSub, set_title_case



set_upper_case:
set_lower_case:
set_title_case:
revert_clipboard := clipboardAll
clipboard =
send ^{c}
clipWait, 0.3

if (a_thisLabel = "set_upper_case")
    stringUpper, clipboard, clipboard
else if (a_thisLabel = "set_lower_case")
    stringLower, clipboard, clipboard
else if (a_thisLabel = "set_title_case")
    stringLower, clipboard, clipboard, T

send ^{v}
sleep 50
clipboard := revert_clipboard
return


/*
[script info]
version     = 1.2
description = change the case of selected text
author      = davebrny
source      = https://gist.github.com/davebrny/771257 ... 4800391621
*/


_______________________________________


 
   
Pagini: 1  
Mergi la