TVT618

Windows-Hacks - Make your Windows more Exciting

May 24th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. Windows-Hacks - Make your Windows more Exciting with the Windows API
  2.  
  3. Windows-Hacks: Creative and unusual things that can be done with the Windows API.
  4.  
  5. Hue Shifter
  6. Any window can be selected to have its colors shifted.
  7. Hue shifting Microsoft Paint:
  8.  
  9. Hue shifting Microsoft Word:
  10.  
  11.  
  12. Shrinking Windows
  13. Any window can be shrunk down.
  14. Shrinking the Calculator:
  15.  
  16. Shrinking Google Chrome:
  17.  
  18. Even Microsoft Word is not safe from being shrunk:
  19.  
  20. Writing Directly To The Desktop
  21.  
  22. Desktop Rotation
  23. Zooms into the Desktop and then spins it around and around.
  24.  
  25. Window Shaker
  26. Randomly shakes the specified window without the use of a mouse.
  27. Here you can see Microsoft Paint shaking all by itself. Pretty spooky huh?
  28.  
  29. If you are a masterful artist (such as myself), you may find that it is too easy to draw in a stationary canvas. In that case, this is the perfect utility for you.
  30.  
  31. Wavy Window
  32.  
  33. Motion Detection
  34. Detects motion in the specified window. This was a lot of fun to play with, especially when used on videos but I can only include so many gifs...
  35. Detecting motion in Microsoft Paint:
  36.  
  37. Detecting motion in command prompt:
  38.  
  39. Automated Painting
  40. Automatically draws a thresholded Mona Lisa into Microsoft Paint:
  41.  
  42. Window Scrambler
  43.  
  44. Window Thresholding
  45. This makes the light colors transparent and the dark colors black.
  46. Before thresholding:
  47.  
  48. After thresholding:
  49.  
  50. Force Changing Window Properties
  51. Many of the properties of a Window can be force changed. In the image below I have changed the following properties in the Windows Calculator:
  52. * Disabled the close, maximimize and minimize buttons
  53. * Removed the drop down menu (View, Edit, Help)
  54. * Changed the width and height of the Window borders
  55. * Changed the title
  56.  
  57. Mouse Spam
  58. Spawns hundreds of mice, where each one moves independently across the screen.
  59.  
  60. Hiding a Window
  61. Any Window can be hidden. In the following image I have hidden the Windows Calculator. As you can see, it is no where to be found on the Desktop. But if you open the Windows Task Manager it is actually still running in the background:
  62.  
  63. And More...
  64. Here is the menu. It lists all of the features:
  65.  
  66. How to Run
  67. The compiled binary is located in the folder Executable.
  68. If you want to compile it yourself the recommended way is as follows:
  69. Make sure you have Visual Studio and .NET Framework 4.5.2.
  70. Download the zip here: https://github.com/LazoCoder/Windows-Hacks/archive/master.zip
  71. Unzip it.
  72. Open WindowsHacks.sln in Visual Studio.
  73. Press F5 to run it.
  74.  
  75. Notes
  76. * The main class that brings all of the functions together is Program.cs.
  77. * The to do list can be found in the top directory. This includes bugs to fix and new features to implement.
  78. * The External folder contains two essential .dll files that must be referenced for the code to work. These two files are
  79. * WindowsAPI.dll and and ImageProcessing.dll and the code for these can be seen in my WinAPI-Wrapper and Image-Processing-
  80. * Library repositories respectively.
  81. * This has only been tested on Windows 7.
  82.  
  83. Download Windows-Hacks: https://github.com/LazoCoder/Windows-Hacks
Add Comment
Please, Sign In to add comment