1.

Solve : batch file best for repeated text entry??

Answer»

I would like to use a hot key to ENTER the FOLLOWING code into a forum post message box.  Would a batch file be the way to do it?  If so, what is the code? 

Code: [Select][table  bgcolor=lightgreen width=600 height=300 style="border:5px double darkblue"][tr][td ][color=black]

my text here

[/color][/td][/tr][/table]
My objective is to EASILY use different backgrounds for my posts.  This code does work in other forums.  I didn't know if it would be inappropriate to use it here, so I didn't.

Batch wouldn't be the way to do it. I suggest getting a program called AutoHotkey.

For example, all you have to do is modify this code and save it as a .AHK file (after you've installed AutoHotkey).

;This code will insert text when you press WIN+Q
#q::
send LINE 1 {ENTER} ; {ENTER} creates a new line
send LINE 2 {ENTER}
send [TESTING] {Enter} ; Just watch what you put in between brackets (especially curly ones like { )
return

Double-Click the newly-created AHK file and when you're ready, press WIN+Q to ACTIVATE the commands.



Discussion

No Comment Found