Thursday, 3 January 2019

windows xp - How to select text then convert with html tag?


LIke


This is a paragraph.

IF i select this text then press any keypoard shortcut.


it should be chnage to this


This is a paragraph.



I need auto hot key script and will add more tag. i need a editable script for > then i will add for other tag as per requirement.



Answer



You could use a similar approach that I used in your other question, use the clipboard buffer:


!p::
ClipSaved := ClipboardAll
Send ^c
clipwait
Clipboard =

%Clipboard%


Send ^v
Clipboard := ClipSaved
ClipSaved=
return

give it a test run for me!


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...