When autohotkey is just too much...reintroducing NIRCMDS! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: When autohotkey is just too much...reintroducing NIRCMDS! (/showthread.php?tid=135885) |
When autohotkey is just too much...reintroducing NIRCMDS! - steppedup - 2012-07-12 I'm not affiliated, but was very excited to discover a few easy way to manipulate windows, that didn't require me reviewing all of AutoHotKey. NIRCMD - available here: http://www.nirsoft.net/utils/nircmd.html. download 32 bit here. download 64 bit here. in-depth help file here. What can you use it for? You can use it to send keystrokes to your system, you can pause NIRCMD before performing another command, you can find and manipulate windows. What did I use it for? I have a Harmony One setup with a button called "Aquarium". This button sends a remote signal to Intelliremote (although you could do it with Eventghost, free), which runs a batch file. That batch file loads the Dream Aquarium screensaver, and instantly turns my HDTV into an HD aquarium.
I have another button, "Close Screensaver" that again Intelliremote uses to run a batch file. That batch file uses NIRCMD to kill all process with .scr in their process name, and maximize XBMC.
Quote:"C:\Users\buddy\Desktop\Harmony One buttons Bat file for RecentAdded and Playlists\nircmd\nircmd.exe" killprocess "*.scr" In the code above, you'll see that I've installed nircmd to a specific folder on my desktop. Please note that the quotation marks are essential for it to run. Below's another version - specifically for killing Dream Aquarium's Trial window. I'm going to fork out money for the full version once I get a replacement credit card. [/code] Quote:"C:\Users\buddy\Desktop\Harmony One buttons Bat file for RecentAdded and Playlists\nircmd\nircmd.exe" killprocess "*.scr" |