;--------------------------------------------------------------
; Swap consecutive fields
^#tab::
{
; Select all, cut
Send ^a
clipboard=
Send ^x
ClipWait
firstField = %clipboard%
; Move to next field
Send {Tab}
; Select all, cut
Send ^a
clipboard=
Send ^x
ClipWait
secondField = %clipboard%
; Insert the first field
Send %firstField%
; Get back on the previous field
send +{Tab}
; Insert the second field
Send %secondField%
}
Just some clicks away and the contact book is back in shape.
mercoledì 2 gennaio 2013
Swapping Fields with Autohotkey [ENG]
Let's say you have a really messed up contact books on your phone and you decide, as a new year resolution, to tidy it up just a little bit. You unsheathe your Kies and find that many of your contact have first and second name swapped. You still have your new years dinner and alcohol in you, so you don't seem to be able to summon the strength for a super smart script trying to sort the thing up for you, so you settle for the mininum wage and whip up an Autohotkey script to just swap the field in focus with the next in the tab order:
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento