<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; windows script</title> <atom:link href="http://www.ghacks.net/tag/windows-script/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 20:51:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Prevent Windows Registry from remembering last key viewed</title><link>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/</link> <comments>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/#comments</comments> <pubDate>Tue, 21 Oct 2008 08:54:00 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[registry]]></category> <category><![CDATA[registry hives]]></category> <category><![CDATA[registry tips]]></category> <category><![CDATA[windows registry]]></category> <category><![CDATA[windows script]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7765</guid> <description><![CDATA[One of the things that bothers me the most is when I open the Windows Registry to edit a key and it loads up showing me the last key I had viewed. I normally go into the Registry to make one change and that’s it. I never go back and edit the same key. Wouldn’t it be great if you could open the registry and all the hives would load up collapsed like you opened it for the first time ever?]]></description> <content:encoded><![CDATA[<p>“This is a guest post by Aseem Kishore, the lead blogger for <a
href="http://HelpDeskGeek.com">HelpDeskGeek.com</a>, which focuses on providing Help Desk tips to IT Professionals.”</p><p>One of the things that bothers me the most is when I open the Windows Registry to edit a key and it loads up showing me the last key I had viewed. I normally go into the Registry to make one change and that’s it. I never go back and edit the same key. Wouldn’t it be great if you could open the registry and all the hives would load up collapsed like you opened it for the first time ever?</p><p>Luckily, there’s a little shortcut you can create to the registry that will get rid of that annoying little feature. It’s actually a script with a few lines of code. Just open Notepad and paste in the following lines of code:</p><p><span
id="more-7765"></span><code>Dim objShell, RegKey, Q</p><p>Set objShell = CreateObject("WScript.Shell")</p><p>strQuote = chr(34)</p><p>RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit"</p><p>RegKey = RegKey &#038; "\LastKey"</p><p>objShell.RegWrite RegKey, ""</p><p>objShell.Run "regedit"</code></p><p>Save the file with a .VBS extension, which stands for Visual Basic Script. To do this in Notepad, choose All Files for the Save as type combo box and name the file “Registry.vbs” without the quotes.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/registry.png" alt="registry" title="registry" width="458" height="94" class="alignnone size-medium wp-image-7766" /></p><p>So now instead of opening the Registry and getting something that looks like this:</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/registry_windows.png" alt="registry windows" title="registry windows" width="271" height="322" class="alignnone size-medium wp-image-7767" /></p><p>You can easily start from the very top of the Registry hives like normal!</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/registry_hives.png" alt="registry hives" title="registry hives" width="243" height="161" class="alignnone size-medium wp-image-7768" /></p><p>If you want to make if more official, you can change the icon for the VBS script file to the Registry icon. In order to do this, you have to create a shortcut to the script. Just right-click on Registry.vbs, click on Send To, and then click on Desktop (create shortcut).</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/send_to_desktop.png" alt="send to desktop" title="send to desktop" width="388" height="164" class="alignnone size-medium wp-image-7769" /></p><p>Now right-click on the shortcut icon and click on Rename. Name the shortcut Registry. Next right-click again and go to Properties. Click on the Change Icon button.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/change_icon.png" alt="change icon" title="change icon" width="357" height="364" class="alignnone size-medium wp-image-7770" /></p><p>Choose the Registry icon from the list of icons. Finally you can copy your shortcut to the Start Menu for easy acce</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/21/prevent-windows-registry-from-remembering-last-key-viewed/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Automate and Script Windows Tasks</title><link>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/</link> <comments>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/#comments</comments> <pubDate>Sun, 22 Oct 2006 08:47:11 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Tools]]></category> <category><![CDATA[autoit]]></category> <category><![CDATA[automate tasks]]></category> <category><![CDATA[autoscripts]]></category> <category><![CDATA[windows script]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/</guid> <description><![CDATA[AutoIt is a freeware scripting language that runs on every Windows operating system starting with Windows 95. It makes it possible to use a combination of mouse movements, keystrokes and window / control manipulation to automate tasks in Windows. It is also capable of executing Windows and Dos programs.]]></description> <content:encoded><![CDATA[<p><a
target="_blank" title="autoit automate and script windows tasks" href="http://www.autoitscript.com/site/autoit/">AutoIt</a> is a freeware scripting language that runs on every Windows operating system starting with Windows 95. It makes it possible to use a combination of mouse movements, keystrokes and window / control manipulation to automate tasks in Windows. It is also capable of executing Windows and Dos programs.</p><p>The <a
target="_blank" title="autoit documentation" href="http://www.autoitscript.com/autoit3/docs/">documentation</a> gives a thorough introduction to AutoIt and explains most features including some tutorials to get you started. This might be not that easy for someone who never coded before but everyone else should feel right at home with this basic like language.</p><p><span
id="more-865"></span>The <a
target="_blank" title="autoit forum" href="http://www.autoitscript.com/forum/forum/9-example-scripts/">forum</a> is the place to learn more and ask questions about the tool. It has a whole subforum where users submit their autoscripts and everyone is able to use them on his own computer. This means that even though you do not code tasks on your own you can still use many by simply downloading the from the forums.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2006/10/22/automate-and-script-windows-tasks/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
