{"id":17228508,"url":"https://github.com/lazocoder/windows-hacks","last_synced_at":"2025-03-04T01:26:34.465Z","repository":{"id":45697409,"uuid":"71976622","full_name":"LazoCoder/Windows-Hacks","owner":"LazoCoder","description":"Creative and unusual things that can be done with the Windows API.","archived":false,"fork":false,"pushed_at":"2022-08-22T15:21:07.000Z","size":54935,"stargazers_count":2420,"open_issues_count":5,"forks_count":145,"subscribers_count":73,"default_branch":"master","last_synced_at":"2025-02-25T00:27:01.066Z","etag":null,"topics":["hack","hacking","hacks","winapi","windows","windows-api","windows-hacks","windowsapi"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LazoCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-26T07:16:35.000Z","updated_at":"2025-02-12T09:12:12.000Z","dependencies_parsed_at":"2022-08-14T15:50:10.366Z","dependency_job_id":null,"html_url":"https://github.com/LazoCoder/Windows-Hacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazoCoder%2FWindows-Hacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazoCoder%2FWindows-Hacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazoCoder%2FWindows-Hacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazoCoder%2FWindows-Hacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LazoCoder","download_url":"https://codeload.github.com/LazoCoder/Windows-Hacks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241766079,"owners_count":20016684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hack","hacking","hacks","winapi","windows","windows-api","windows-hacks","windowsapi"],"created_at":"2024-10-15T04:44:19.770Z","updated_at":"2025-03-04T01:26:34.441Z","avatar_url":"https://github.com/LazoCoder.png","language":"C#","readme":"# Windows-Hacks\nCreative and unusual things that can be done with the Windows API.\n\n## Shrinking Windows\nAny window can be shrunk down.\n\nShrinking the Calculator:\n\n![alt-tag](gifs/shrinking_calc.gif)\n\nShrinking Google Chrome:\n\n![alt-tag](gifs/shrinking_chrome.gif)\n\nEven Microsoft Word is not safe from being shrunk:\n\n![alt-tag](gifs/shrinking_ms_word.gif)\n\n## Hue Shifter\n\nAny window can be selected to have its colors shifted. \n\nHue shifting Microsoft Paint:\n\n![alt-tag](gifs/hue_shifting_ms_paint.gif)\n\nHue shifting Microsoft Word:\n\n![alt-tag](gifs/hue_shifting_word.gif)\n\n## Writing Directly To The Desktop\n\n![alt-tag](gifs/writing_to_desktop.png)\n\n## Desktop Rotation\n\nZooms into the Desktop and then spins it around and around.\n\n![alt-tag](gifs/desktop_rotation.gif)\n\n## Window Shaker\n\nRandomly shakes the specified window without the use of a mouse.\n\nHere you can see Microsoft Paint shaking all by itself. Pretty spooky huh?\n\n![alt-tag](gifs/shaking_microsoft_paint.gif)\n\nIf 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.\n\n![alt-tag](gifs/drawing_in_a_shaky_microsoft_paint.gif)\n\n## Wavy Window\n\n![alt-tag](gifs/wave_scream.gif)\n\n## Motion Detection\n\nDetects 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...\n\nDetecting motion in Microsoft Paint:\n\n![alt-tag](gifs/motion_detection_paint.gif)\n\nDetecting motion in command prompt:\n\n![alt-tag](gifs/motion_detection_cmd.gif)\n\n## Automated Painting\n\nAutomatically draws a thresholded Mona Lisa into Microsoft Paint:\n\n![alt-tag](gifs/mona_lisa.gif)\n\n## Window Scrambler\n\n![alt-tag](gifs/scrambling_a_window.gif)\n\n## Window Thresholding\n\nThis makes the light colors transparent and the dark colors black.\n\nBefore thresholding:\n\n![alt-tag](gifs/thresholding_before.png)\n\nAfter thresholding:\n\n![alt-tag](gifs/thresholding_after.png)\n\n## Force Changing Window Properties\n\nMany of the properties of a Window can be force changed. In the image below I have changed the following properties in the Windows Calculator:\n - Disabled the close, maximimize and minimize buttons\n - Removed the drop down menu (View, Edit, Help)\n - Changed the width and height of the Window borders\n - Changed the title\n \n![alt-tag](gifs/calculator_changed.png)\n \n## Mouse Spam\n\nSpawns hundreds of mice, where each one moves independently across the screen.\n\n![alt-tag](gifs/mouse_spam.png)\n\n## Hiding a Window\n\nAny 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:\n\n![alt-tag](gifs/hidden_window.png)\n\n## More...\n\nHere is the menu. It lists all of the features:\n\n![alt-tag](gifs/menu.png)\n\n## How to Run\n\nThe compiled binary is located in the folder *Executable*.\n\nIf you want to compile it yourself the recommended way is as follows:\n1. Make sure you have Visual Studio and .NET Framework 4.5.2.\n2. Download the zip.\n3. Unzip it.\n4. Open WindowsHacks.sln in Visual Studio.\n5. Press F5 to run it.\n\n## Notes\n\n - The main class that brings all of the functions together is *Program.cs*.\n\n - The to do list can be found in the top directory. This includes bugs to fix and new features to implement.\n\n - The External folder contains two essential .dll files that must be referenced for the code to work. These two files are WindowsAPI.dll and and ImageProcessing.dll and the code for these can be seen in my [WinAPI-Wrapper](https://github.com/LazoCoder/WinAPI-Wrapper) and [Image-Processing-Library](https://github.com/LazoCoder/Image-Processing-Library) repositories respectively. \n\n - This has only been tested on Windows 7.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazocoder%2Fwindows-hacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazocoder%2Fwindows-hacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazocoder%2Fwindows-hacks/lists"}