Popular recipes tagged "command_execution" but not "user_interface"http://code.activestate.com/recipes/tags/command_execution-user_interface/2010-10-25T05:14:49-07:00ActiveState Code RecipesRun command in Win32 Registry (Python) 2010-10-25T05:14:49-07:00Phil Risthttp://code.activestate.com/recipes/users/4171119/http://code.activestate.com/recipes/577441-run-command-in-win32-registry/ <p style="color: grey"> Python recipe 577441 by <a href="/recipes/users/4171119/">Phil Rist</a> (<a href="/recipes/tags/command_execution/">command_execution</a>, <a href="/recipes/tags/win32/">win32</a>). Revision 2. </p> <p>Each file type has several commands saved in the registry and associated with the file type. These commands appear in the context menu for files of that file type. It seemed wasteful to replicate these commands with QEditor and Crimson Editor. DoCommand extracts the command from the registry, replaces macros and '%1' and '%*' strings and executes the command similar to the Do.py program.</p>