<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Textheld &#187; Mediacenter</title>
	<atom:link href="http://www.textheld.de/tag/mediacenter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.textheld.de</link>
	<description>Die Freiheit der Meinung setzt voraus, daß man eine hat</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:24:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Redefine media keys on Logitech diNovo und diNovo Mini Keyboard</title>
		<link>http://www.textheld.de/2009/01/07/redefine-media-keys-on-logitech-dinovo-und-dinovo-mini-keyboard/</link>
		<comments>http://www.textheld.de/2009/01/07/redefine-media-keys-on-logitech-dinovo-und-dinovo-mini-keyboard/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:00:00 +0000</pubDate>
		<dc:creator>Fx</dc:creator>
				<category><![CDATA[Tipps]]></category>
		<category><![CDATA[Mediacenter]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.textheld.de/2009/01/07/redefine-media-keys-on-logitech-dinovo-und-dinovo-mini-keyboard/</guid>
		<description><![CDATA[I wonder how to force Logitechs diNovo Mini Keyboard to start my prefered MediaCenter application instead of (in my case) iTunes or the Microsoft Mediacenter. Logitechs Keyboards and Mouse gadjets...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.textheld.de/wp-content/uploads/2010/08/bild.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="bild" src="http://www.textheld.de/wp-content/uploads/2010/08/bild_thumb.jpg" border="0" alt="bild" width="104" height="72" align="left" /></a> I wonder how to force Logitechs diNovo Mini Keyboard to start my prefered MediaCenter application instead of (in my case) iTunes or the Microsoft Mediacenter.</p>
<p>Logitechs Keyboards and Mouse gadjets use the Logitech SetPoint software as driver and setup tool for the special functions of the hardware. This means e. g. to redefine the function of a special key on the keyboard you can start SetPoint and assign another usage.</p>
<p><span id="more-126"></span></p>
<p><a href="http://www.textheld.de/wp-content/uploads/2010/08/bild1.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="bild" src="http://www.textheld.de/wp-content/uploads/2010/08/bild_thumb1.jpg" border="0" alt="bild" width="248" height="171" align="left" /></a> The screenshot example shows how to setup the &#8220;Media&#8221; button. This button is allowed to be redefined to start any app you want. Maybe you can see, that only three of all sixteen(!) available extra buttons like Play, Stop, Record and &#8211; our target here &#8211; the &#8220;Green Button&#8221; aka Media Center Button in the lower, right corner of your diNovo Mini Keyboard are available. Furthermore the other two buttons even do offer less options to redefine them. How can we modify this gratuitous constraints?</p>
<p><strong>Caution! Backup your existing XML files before any change is made! You do all changes on your own risk!</strong></p>
<p>Close Logitech SetPoint Software in the Systemtray if it is running.</p>
<p>Backup our target files:<br />
<em>C:\Dokumente und Einstellungen\USERNAME\Anwendungsdaten\Logitech\SetPoint\user.xml<br />
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Logitech\SetPoint\Devices\Keyboard\2000060\2000060.xml</em></p>
<p>This value 200060 is the hex value of the modell number of your device found in the user.xml<br />
<em>&lt;Device DisplayName=&#8221;diNovo Mini&#8221; Class=&#8221;KeyboardDevice&#8221; Model=&#8221;33554528&#8243; NumberOfButtons=&#8221;16&#8243; ConnectionID=&#8221;"&gt;&#8221;</em></p>
<p>The 200060 is the diNovo Mini keyboard model id.</p>
<p>Check that you use at least version 4.70 of the Logitech Setpoint software. This is the one i used to modify my XMLs with success.</p>
<p>You may download the changed XMLs at the end of this article.</p>
<p>This files decide which keys can be remapped and in which manner this can be done. Logitech uses so called &#8220;HandlerSets&#8221; to define what a key may handle.</p>
<p>I did not try to find out all whistles and bells that Logitech has and hides in it&#8217;s products. I show only how to map any app you want to your Media Center / Green Button on your diNovo Mini keyboard. If you can follow this changes then you are smart enough to find out more by yourself (-:</p>
<p>Open <strong>200060.xml</strong> in your favorite texteditor (Notepad++ is an excellent and free choice for XML files, google it). Find the original entry for the button name &#8220;MEDIA Center&#8221; on the end of the file. Replace the entry with:</p>
<p><em>&lt;!&#8211; Button Name =&gt; MEDIA Center &#8211;&gt;<br />
&lt;Button Number=&#8221;12320781&#8243; Name=&#8221;Media&#8221;&gt;<br />
&lt;PARAM Type=&#8221;HOTKEY&#8221; IconLoc=&#8221;Devices\\Keyboard\\CommonIcons\\mediacenter&#8221; /&gt;<br />
&lt;Trigger Class=&#8221;ButtonPress&#8221;&gt;<br />
&lt;PARAM Button=&#8221;12320781&#8243; /&gt;<br />
&lt;TriggerState Name=&#8221;ButtonDownUp&#8221; HandlerSet=&#8221;MediaPlayer&#8221; HandlerSetGroup=&#8221;HotKeysMediaGroupMini&#8221; /&gt;<br />
&lt;/Trigger&gt;<br />
&lt;/Button&gt;<br />
&lt;/Buttons&gt;</em></p>
<p>The &#8220;IconLoc&#8221; parameter changes the icon displayed in the button list in SetPoint. See the directory &#8220;C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Logitech\SetPoint\Devices\Keyboard\CommonIcons&#8221; for all available icons.</p>
<p>The &#8220;HandlerSetGroup&#8221; decides which options SetPoint will present to assign to a button (3. Choose Function in the Logitech SetPoint key assign dialog).</p>
<p>After saving your changes (you made a backup before, didn&#8217;t you?) open the <strong>user.xml</strong> and search for the button &#8220;Media&#8221; at the end of the file. Replace the complete button section with:</p>
<p><em>&lt;Button Number=&#8221;12320781&#8243; Name=&#8221;Media&#8221;&gt;<br />
&lt;Param IconLoc=&#8221;Devices\Keyboard\CommonIcons\mediacenter&#8221; Type=&#8221;HOTKEY&#8221;/&gt;<br />
&lt;Trigger Class=&#8221;ButtonPress&#8221;&gt;<br />
&lt;Param Button=&#8221;12320781&#8243; FirstRepeatDelay=&#8221;0&#8243; RepeatDelay=&#8221;0&#8243; Silent=&#8221;0&#8243; Type=&#8221;0&#8243;/&gt;<br />
&lt;TriggerState Name=&#8221;ButtonDownUp&#8221; HandlerSet=&#8221;LaunchProgram&#8221;&gt;<br />
&lt;Handler Class=&#8221;FileLauncher&#8221;&gt;<br />
&lt;Param BrowseType=&#8221;1&#8243; FileName=&#8221;C:/Meedio/Meedio Ultimate/Meedio.exe&#8221; LookupPath=&#8221;0&#8243; Name=&#8221;Meedio&#8221; Parameters=&#8221;" ShowUIDlg=&#8221;1&#8243; Title=&#8221;Programm wählen&#8221;/&gt;<br />
&lt;/Handler&gt;<br />
&lt;/TriggerState&gt;<br />
&lt;/Trigger&gt;<br />
&lt;/Button&gt;</em></p>
<p>Save your changes and restart the SetPoint software. Now you should find a new entry with a windows icon for your Media Center button:</p>
<p><a href="http://www.textheld.de/wp-content/uploads/2010/08/bild11.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="bild-1" src="http://www.textheld.de/wp-content/uploads/2010/08/bild1_thumb.jpg" border="0" alt="bild-1" width="336" height="267" align="left" /></a></p>
<p>These changes can be done with any of the 16 keys in on your diNovo Mini. They may work for sure with other Logitech products also.</p>
<p>I do not understand why Logitech does not implement something like a &#8220;Pro-Config-Mode&#8221; to let the experienced user decide what he wants to do with his expensive gadjets.</p>
<p>Download: <a title="diNovo XML files for media center button" href="http://www.textheld.de/wp-content/uploads/misc/logitech_dinovo_key_redefines.zip" target="_blank">XML diNovo</a></p>
<p><strong><br />
Update 08.01.2009<br />
</strong>I’ve updated the XMLs. The new version contains an assignment for the “Record” key. I don’t use that key so it will now send “Esc” keystroke to the forground application. If you hold down the “Record” key for 3 seconds it sends an ALT + F4 to the forground application to close it.</p>
<p>Download the Zip file and copy the two XML files to the Logitech dirs on your pc (s. article for details).</p>
<p>Download:<br />
<a href="http://www.textheld.de/wp-content/uploads/misc/dinovo_mini_with_esc_assigned.zip" target="_blank">Update 08.01.2009</a></p>
<p><strong>Update 03.08.2010<br />
</strong>I’ve changed my Meedio Ultimate Media-Center to MediaPortal. Now i need some of the function keys (F1, F2, F3 etc. pp.). The diNovo Mini Keyboard does not have these function keys. I’ve made a little workaround: a smal Autohotkey script. This Script musst be running in the background on the Media PC. It remaps the number keys together with the blue “Fn” on your keyboard to F1 – F9 function keys.</p>
<p>If you need the Keys F10 – F12 as well, you may add them by remapping other keys. To run the script you must install the smal autohotkey scripting software. You may download that <a title="Go to autohotkey website" href="http://www.autohotkey.com" target="_blank">here</a>.</p>
<p>Download:<br />
<a title="Autohotkey script" href="http://www.textheld.de/wp-content/uploads/misc/media_pc_tools_v2.zip" target="_blank">Map Funktions keys on diNovo Mini Keyboard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.textheld.de/2009/01/07/redefine-media-keys-on-logitech-dinovo-und-dinovo-mini-keyboard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Start, stop or kill processes.</title>
		<link>http://www.textheld.de/2008/03/24/start-stop-or-kill-processes/</link>
		<comments>http://www.textheld.de/2008/03/24/start-stop-or-kill-processes/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 05:00:00 +0000</pubDate>
		<dc:creator>Fx</dc:creator>
				<category><![CDATA[Tipps]]></category>
		<category><![CDATA[Mediacenter]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Task]]></category>

		<guid isPermaLink="false">http://www.textheld.de/2008/03/24/start-stop-or-kill-processes/</guid>
		<description><![CDATA[Complete commandline mangement of processes. We are using mediacenter software for years. Regardsless of the vendor (Sceneo, Microsoft, Yahoo) or free of charge (MediaPortal, Meedio, MeediOS etc.) there is always...]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="CKS Tool - Commandline Process Management" border="0" alt="CKS Tool - Commandline Process Management" align="left" src="http://www.textheld.de/wp-content/uploads/2010/04/cksini.jpg" width="137" height="102" /> Complete commandline mangement of processes.</p>
<p>We are using mediacenter software for years. Regardsless of the vendor (Sceneo, Microsoft, Yahoo) or free of charge (MediaPortal, Meedio, MeediOS etc.) there is always a tool or function missing.</p>
<p>Maybe you have unstable services, problems with drivers or addons. You need to automate steps, close and or start programs etc.</p>
<p>To solve a few of this issues we&#8217;ve created a smal tool to assist in these cases. It&#8217;s not only worth a view for media center users&#8230;</p>
<p> <span id="more-131"></span><br />
<h5>WARNING:</h5>
<p>If you have read this and still no clue what it can do for you &#8211; leave it alone</p>
<p>If you have no knowledge about processes and what a kill of a process can cause &#8211; leave it alone</p>
<p>Ergo: Use it at your own risk or leave it alone</p>
<p>You&#8217;ve been warned&#8230;</p>
<h5>Requirements</h5>
<p>It&#8217;s tested and approved for Windows XP only. May run with 2000/2003/Vista/2008 also. May need admin rights to close/kill a process not owned by the user</p>
<h5>What is it good for?</h5>
<p>CKS-Tool (Close, Kill Start Tool (-; can start and stop/kill apps/processes in a given order. If an app or process can not be closed it will be killed (tried to (:You may find CKS-Tool convenient if</p>
<p>- You need to close kill a set of processes or apps by one click with your remote control software</p>
<p>- You need to start or stop services but without the ugly cmd window</p>
<p>- You can define all your sets of apps to close or/and start in one ini-file</p>
<p>- You can call each set from the commandline</p>
<p>- You can supress any output (flawless/invisible integration in your mediacenter)</p>
<p>- You need to start an app but you don&#8217;t wanna see a black commandline window (hidden start)</p>
<p>- You need to start a few apps with waits between starts</p>
<p>- You need to start a few depending programs, links etc. in a well defined order</p>
<p>- You need to close processes or applications that have no programm window by script or on demand</p>
<p>- You need to start apps after closing others (e.g. close process that lock files and start your backup tool)</p>
<p>- You need to restart unstable software insistence on one ore more processes and/or services</p>
<p>- You need to start a process and send a few keystrokes to the app window after initialize</p>
<p>- You need to end/kill tasks that reinstalls itself everytime in the Windows autostarts (MS ActiveSync e. g.)</p>
<p>- You can debug your settings with a progress dialog</p>
<p>- You need a freeware tool for that</p>
<h5>How does it work?</h5>
<p>You can define sections in the ini-file of the CKS-Tool.exe The ini-file is expected to be in the same directory as the exe. Each section in the ini can have it&#8217;s own set of nine entries per services, per processes to kill and per processes to start. The number of sections is not limited (maybe by windows, we don&#8217;t care ).</p>
<p>CKS-Tool first always tries to close (wm_close is send to it) an app or process. Only if that fails, it tries to kill it. Services will be startet and stopped via the service process manager.</p>
<p>Furthermore you can define how long CKS-Tool waits before a kill is send to the process, after it has had no success to close it gently.</p>
<p>If you start CKS-Tool with the section name which you&#8217;ve created (e.g. &quot;CKS-Tool.exe testsection&quot; see below) the following happens:</p>
<p>1.) Each process named in the item &quot;StopServiceX&quot; (X in 1..9) will be closed by using the stop service via service handler. Than all processes in items &quot;StopProcessX&quot; receive a wm_close message in the order of the numbering</p>
<p>2.) CKS-Tool then waits the specified number of seconds defined in item &quot;WaitBeforeKill&quot;</p>
<p>3.) Then it checks if any of the processes (not services!) in 1.) is still alive. If so, it kills them if possible (e. g. a system process may deny such an attempt)</p>
<p>After that CKS-Tool checks if further items for starting programs are defined in the ini file. Each entry for a program / app / process start can consist of 6 entries:</p>
<p><em>; set if items for one process (out of max. 9 per section) app to start</em></p>
<p><em>WaitBeforeStartX=</em></p>
<p><em>OptionsX=</em></p>
<p><em>WorkDirX=</em></p>
<p><em>StartProcessX=</em></p>
<p><em>WaitBeforeSendKeysX=</em></p>
<p><em>SendKeysX=</em></p>
<p>X can be a number from 1 to 9. The item set will execute in the order from 1 to 9. This makes it possible to define starts and delayed starts for depending applications. An example entry:</p>
<p align="left"><em>; &#8216;Testsection&#8217; (without the quotes) has to be the</em></p>
<p align="left"><em>; command line option when starting CKS-Tool.exe</em></p>
<p align="left"><em>; to execute the content of this section</em></p>
<p align="left"><em>[TestSection]</em></p>
<p align="left"><em>ProgressDlg=on</em></p>
<p align="left"><em>WaitBeforeKill=5</em></p>
<p align="left"><em>EndProcess1=WellKnownTask.exe</em></p>
<p align="left"><em>EndProcess2=notepad.exe</em></p>
<p align="left"><em>WaitBeforeStart1=5</em></p>
<p align="left"><em>Options1=max</em></p>
<p align="left"><em>WorkDir1=c:\windows\system32</em></p>
<p align="left"><em>StartProcess1=notepad.exe c:\boot.ini</em></p>
<p align="left"><em>WaitBeforeStart2=10</em></p>
<p align="left"><em>Options2=</em></p>
<p align="left"><em>WorkDir2=c:\windows\system32</em></p>
<p align="left"><em>StartProcess2=services.msc</em></p>
<p>4.) Wait 5 Seconds</p>
<p>5.) Start notpad.exe and open c:\boot.ini</p>
<p>6.) Wait 10 Seconds (WaitbeforeStart2=10) and run service manager console</p>
<p>CKS-Tool displays a progress dialogbox with information on whats going on. If you don&#8217;t wan&#8217;t that dialog you can disable it in your section in the ini file. Default is on. This is a per section option.</p>
<p><em>ProgressDlg=off</em></p>
<p>WaitBeforeSendKeysX waits the given number of seconds after starting the application / process.</p>
<p>SendKeysX sends the given Keys to the forground window (hopefully your started application (:</p>
<p>The syntax for the Keys is analog to Autohotkey&#8217;s syntax: <a href="http://www.autohotkey.com/docs/commands/Send.htm" target="_blank">http://www.autohotkey.com/docs/commands/Send.htm</a></p>
<p>No syntax checks will be done. CKS-Tool sends the hole string according to the autohotkey syntax to your program. You have got to take care of it yourself. An Example of that powerful function is inside the ini file.</p>
<h5>Firefox example</h5>
<p>Firefox lags the option to start in Fullscreen or kiosk mode by using a command line option. This is possible by hitting F11 after the start of the browser. This makes sense especially, if you wann use a great and skinned browser with your mediacenter, but you don&#8217;t wanna show menues or other windows like design.</p>
<p align="left"><em>[StartFirefoxFullScreen]</em></p>
<p align="left"><em>ProgressDlg=off</em></p>
<p align="left"><em>;nothing to close or kill</em></p>
<p align="left"><em>WaitBeforeKill=0</em></p>
<p align="left"><em>; go right away</em></p>
<p align="left"><em>WaitBeforeStart1=0</em></p>
<p align="left"><em>;maximize firefox win on start</em></p>
<p align="left"><em>Options1=max</em></p>
<p align="left"><em>;workdir</em></p>
<p align="left"><em>WorkDir1=C:\Programme\Firefox</em></p>
<p align="left"><em>;exe to start</em></p>
<p align="left"><em>StartProcess1=firefox.exe</em></p>
<p align="left"><em>;starts are always asyncronus, so we have to give Firefox a few seconds to initialize</em></p>
<p align="left"><em>WaitBeforeSendKeys1=4</em></p>
<p align="left"><em>;send F11 Key for fullscreen view of firefox</em></p>
<p align="left"><em>SendKeys1={F11}</em></p>
<p>Use &quot;chs-tool.exe StartFirefoxFullScreen&quot; from a command menue. This starts the browser without showing any window (e.g. cmd window) and sends &quot;F11&quot; key to firefox after it is initalised.</p>
<p>Software updatet on 27.03.2008. Please see the readme and the ini file inside the archive for more detailed examples and informations.</p>
<p>Download: <a title="CKS-Tool 0.0.4.0" href="http://www.textheld.de/wp-content/uploads/misc/cks-tool.zip" target="_blank">CKS-Tool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.textheld.de/2008/03/24/start-stop-or-kill-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

