Top-rated recipes tagged "screen" Code RecipesDetect screen resolution without wmi (part 2) (Batch) 2012-12-12T12:40:24-08:00greg zakharov <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="">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 zakharov <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' Partin <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' 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 Coelho <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 Varma <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 Thornton <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>