/ETC/KeyPress-Displayer/README.md

https://github.com/TaranVH/2nd-keyboard · Markdown · 33 lines · 29 code · 4 blank · 0 comment · 0 complexity · 37c082eb8c006877bb0b5b37c1906546 MD5 · raw file

  1. # KeyPress-Displayer
  2. THIS IS A SIMPLER ALTERNATIVE TO KEYSTROKE VIZ.AHK. THE TWO SHOULD NOT BE USED AT THE SAME TIME.
  3. Creates an On Screen Display of all the keypresses from the keyboard and mouse buttons
  4. This is a AutoHotKey(.ahk) Script and requires Autohotkey software to run this script,<br>which can be obtained for free <a href="https://autohotkey.com/download/ahk-install.exe">here</a> (Size: 2.96 MB)
  5. Challenge is to make a script that,
  6. <ol type="a">
  7. <li> <div color:#555555>Displays all the keyboard and mouse button presses on the screen - Done</div>
  8. </li>
  9. <li> The Display should be customisable ie; changes could be made to the <i>Font, Background Color, Font Color - Done</i>
  10. </li>
  11. <li> The Display should decrase its transparency when the pressed key is released.
  12. </li>
  13. <li> The Display should disappear after a while if no further keys are pressed. - Done
  14. </li>
  15. <li>Should display "<b>234.56</b>" as a whole group like "<b>234.56</b>" and not individual keystrokes like "<b>2</b>" then "<b>3</b>" then "<b>4</b>" then "<b>.</b>" then "<b>5</b>" then "<b>6</b>". Same is applicable to words "<b>HELLO</b>" not "<b>H</b>" "<b>E</b>" "<b>L</b>" "<b>L</b>" "<b>O</b> - Done"
  16. </li>
  17. <li> Should display "<b>Numpad0</b>" as "<b>0</b>" "<b>Numpad1</b>" as "<b>1</b>" etc. - Done
  18. </li>
  19. <li> Should display "<b>(</b>" as "<b>(</b>" and not "<b>Shift+0</b>" or "<b>Shift+)</b>" likewise for all symbols. - Done
  20. </li>
  21. <li> Multiple keypresses like "<b>Backspace Backspace Backspace Backspace Backspace</b>" as "<b>Backspace(x5)</b>", the number in the brackets is to increase with the increase in keypresses. - Done
  22. </li>
  23. <li> Should not treat "<b>Hello</b>" as "<b>Hel(x2)o</b>" - Done
  24. </li>
  25. <li> Should refresh the display after a certain number of keypresses are made. - Done<br>
  26. For example, with a breakpoint of 15 characters the typed string "<b>I went to the zoo yesterday had lots of fun</b>" should be displayed as,<br>
  27. "<b>I went to the z</b>" then<br>
  28. "<b>oo yesterday ha</b>" and finally<br>
  29. "<b>d lots of fun</b>" </li>