Popular recipes tagged "screen"http://code.activestate.com/recipes/tags/screen/popular/2014-04-16T15:36:04-07:00ActiveState Code RecipesDetect screen resolution without wmi (part 2) (Batch) 2012-12-12T12:40:24-08:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578377-detect-screen-resolution-without-wmi-part-2/ <p style="color: grey"> Batch recipe 578377 by <a href="/recipes/users/4184115/">greg zakharov</a> (<a href="/recipes/tags/resolution/">resolution</a>, <a href="/recipes/tags/screen/">screen</a>). </p> <p>In previous time I wrote how to do it with <a href="http://code.activestate.com/recipes/578345-detect-screen-resolution-without-wmi/?in=user-4184115">mshta.exe</a>. Good, now I want to show you how to do it with COM-object <strong>htmlfile</strong>. It looks like similar way with mshta.exe:</p> Detect screen resolution without wmi (Batch) 2012-11-21T11:02:51-08:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578345-detect-screen-resolution-without-wmi/ <p style="color: grey"> Batch recipe 578345 by <a href="/recipes/users/4184115/">greg zakharov</a> (<a href="/recipes/tags/mshta/">mshta</a>, <a href="/recipes/tags/resolution/">resolution</a>, <a href="/recipes/tags/screen/">screen</a>). </p> <p>Maybe you know what it's possible to invoke mshta.exe inside batch with some specific parameters. So, it helps to access for <strong>screen</strong> which keeps data about screen resolution.</p> Easy ansi color plus more. (Ruby) 2014-04-16T15:36:04-07:00Mike 'Fuzzy' Partinhttp://code.activestate.com/recipes/users/4179778/http://code.activestate.com/recipes/578018-easy-ansi-color-plus-more/ <p style="color: grey"> Ruby recipe 578018 by <a href="/recipes/users/4179778/">Mike 'Fuzzy' Partin</a> (<a href="/recipes/tags/ansi/">ansi</a>, <a href="/recipes/tags/clear/">clear</a>, <a href="/recipes/tags/console/">console</a>, <a href="/recipes/tags/cursor/">cursor</a>, <a href="/recipes/tags/formatting/">formatting</a>, <a href="/recipes/tags/movement/">movement</a>, <a href="/recipes/tags/output/">output</a>, <a href="/recipes/tags/ruby/">ruby</a>, <a href="/recipes/tags/screen/">screen</a>, <a href="/recipes/tags/string/">string</a>, <a href="/recipes/tags/underline/">underline</a>). </p> <p>This quick class extends the base String class to add the ability to chain escape codes onto your output. For instance: puts 'String'.bold.underline.blink.red for something truly hideous. Aside from the colors (all are supported, but I haven't put in support for background colors as of the time of this post), cursor placement (ymmv based on the term type), screen clearing, bold, underline, blink reverse, conceal are all handled as well.</p> Splash Screen GTK (Python) 2011-10-24T13:34:29-07:00Nicolas Coelhohttp://code.activestate.com/recipes/users/4179691/http://code.activestate.com/recipes/577919-splash-screen-gtk/ <p style="color: grey"> Python recipe 577919 by <a href="/recipes/users/4179691/">Nicolas Coelho</a> (<a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/screen/">screen</a>, <a href="/recipes/tags/simple/">simple</a>, <a href="/recipes/tags/splash/">splash</a>). </p> <p>This is a simple example showing how to put a splash screen to work in a GTK app.</p> Tkinter Splash Screen (Python) 2010-06-21T18:09:06-07:00Sunjay Varmahttp://code.activestate.com/recipes/users/4174115/http://code.activestate.com/recipes/577271-tkinter-splash-screen/ <p style="color: grey"> Python recipe 577271 by <a href="/recipes/users/4174115/">Sunjay Varma</a> (<a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/screen/">screen</a>, <a href="/recipes/tags/splash/">splash</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). </p> <p>I wanted to mess around with the overrideredirect function of the window manager, and ended up making a pretty good Python Tkinter splash screen. :)</p> <p>Just run it for a demo.</p> <p>There are instructions and more info in the script</p> Run screensaver from Python (Python) 2009-07-03T10:30:58-07:00Jordan Thorntonhttp://code.activestate.com/recipes/users/4170973/http://code.activestate.com/recipes/576828-run-screensaver-from-python/ <p style="color: grey"> Python recipe 576828 by <a href="/recipes/users/4170973/">Jordan Thornton</a> (<a href="/recipes/tags/run/">run</a>, <a href="/recipes/tags/saver/">saver</a>, <a href="/recipes/tags/screen/">screen</a>, <a href="/recipes/tags/screensaver/">screensaver</a>, <a href="/recipes/tags/win32/">win32</a>, <a href="/recipes/tags/win32com/">win32com</a>, <a href="/recipes/tags/win32com_client/">win32com_client</a>, <a href="/recipes/tags/windows/">windows</a>). </p> <p>Simple script that will allow you to locate and run the set screensaver from python, if available.</p>