<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-32256625</atom:id><lastBuildDate>Thu, 12 Nov 2009 18:27:17 +0000</lastBuildDate><title>Tech Tip Blog</title><description></description><link>http://techtipblog.blogspot.com/</link><managingEditor>noreply@blogger.com (V Subhash)</managingEditor><generator>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-32256625.post-115483340777676859</guid><pubDate>Sun, 06 Aug 2006 03:03:00 +0000</pubDate><atom:updated>2006-08-05T20:03:27.793-07:00</atom:updated><title>How To Add Your Favourite Applications To The IE Toolbar</title><description>&lt;h4&gt;As usual, the quick and dirty way&lt;/h4&gt;

 &lt;img src="http://www.vsubhash.com/images/blog/IE_toolbar_demo.gif" style="float: right; border: solid 5px white;"&gt;
  &lt;p&gt;If your work requires that you spend a long time on Internet Explorer (IE), you may have felt the need for quick access to some of your favourite programs like Notepad, IrfanView, etc.&lt;/p&gt;
  &lt;p&gt;In this article, you will learn about a simple way to customize your IE toolbar. This involves adding a few keys to the Windows registry. Windows registry is the main storehouse of vital information about your Windows installation. Be careful or you may have to install Windows again.&lt;/p&gt;
  &lt;img src="http://photos1.blogger.com/blogger/4021/214/1600/IE_toolbar_registry.0.gif" style="float: right; border: solid 5px black;"&gt;
  &lt;p&gt;Anyway, here we go. In the first example, I will tell you about how I added a toolbar button for the &lt;b&gt;Notepad&lt;/b&gt; application. Select the &lt;b&gt;Start&lt;/b&gt; menu button and click on the &lt;b&gt;Run&lt;/b&gt; option. Type &lt;b&gt;regedit&lt;/b&gt; and click the &lt;b&gt;OK&lt;/b&gt; button. The &lt;b&gt;Registry Editor&lt;/b&gt; will be displayed. Navigate to the &lt;b&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions&lt;/b&gt; key. Here, you might see keys with names like &lt;b&gt;{A5D12C4E-7B4F-11D3-F5C9-0050045C3C96}&lt;/b&gt;. The names of these keys are called &lt;i&gt;globally unique identifiers&lt;/i&gt; or GUIDs. In my machine, the &lt;b&gt;A5D12C4E-7B4F-11D3-F5C9-0050045C3C96&lt;/b&gt; GUID uniquely represents the toolbar button for Yahoo! Messenger. For every button you try to add to the IE toolbar, you must come up with a new unique GUID.&lt;/p&gt;
  &lt;p&gt;For Notepad, I created a key at &lt;b&gt;Extensions&lt;/b&gt; branch with a brand-new GUID. (Select &lt;b&gt;Extensions&lt;/b&gt;, right click, and select &lt;b&gt;New &amp;raquo; Key&lt;/b&gt;.) The professional way of generating a unique GUID is to use a tool like &lt;b&gt;guidgen.exe&lt;/b&gt; or &lt;b&gt;uuidgen.exe&lt;/b&gt;. The MSDN says, "&lt;i&gt;Guidgen.exe never produces the same number twice, no matter how many times it is run or how many different machines it runs on.&lt;/i&gt;" Because I decided did not have this tool, I decided to take a risk by generating a new GUID myself. I made some random changes to the alphabets and the numbers in GUID used by Yahoo Messenger.&lt;/p&gt;
  &lt;h5 style="margin:10px;"&gt;{A5D12C4E-7B4F-11D3-F5C9-0050045C3C96 - Yahoo Messenger key&lt;br&gt;{A&lt;span style="background-color: lime;"&gt;6&lt;/span&gt;D12&lt;span style="background-color: lime;"&gt;D&lt;/span&gt;4E-7B4F-11D3-F5C9-00&lt;span style="background-color: lime;"&gt;6&lt;/span&gt;004&lt;span style="background-color: lime;"&gt;6&lt;/span&gt;C3&lt;span style="background-color: lime;"&gt;E&lt;/span&gt;96} - Notepad key&lt;/h5&gt;
  &lt;p&gt;The GUID is in hexadecimal format, which means that it is made up of numbers from 0 to 9 and the alphabets A to F. In other words, the ID cannot have alphabets from G to Z or fancy characters like *,#,/,%,^,&amp;,* and @.&lt;/p&gt;
  &lt;img src="http://photos1.blogger.com/blogger/4021/214/1600/IE_toolbar_registry2.0.gif" style="float: right; border: solid 5px black;"&gt;
  &lt;p&gt;In the right-side pane of the registry editor, I created the following string values: &lt;b&gt;ButtonText, clsid, Default Visible, Exec, HotIcon, Icon, MenuStartBar, and MenuText&lt;/b&gt;. (Right click, select &lt;b&gt;New &amp;raquo; String Value&lt;/b&gt;.) I set &lt;b&gt;ButtonText&lt;/b&gt; and &lt;b&gt;MenuText&lt;/b&gt; to &lt;i&gt;Notepad&lt;/i&gt;. This value was to be displayed as the label below the toolbar button. The value used by &lt;b&gt;MenuStatusBar&lt;/b&gt; was to be displayed in the IE status bar when the mouse pointer or the cursor hovers over the corresponding &lt;b&gt;Tools&lt;/b&gt; menu option. The &lt;b&gt;clsid&lt;/b&gt; value was set to &lt;i&gt;{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}&lt;/i&gt;. This value is a set standard and you should include this &lt;i&gt;as is&lt;/i&gt; for any toolbar buttons you may create for your browser. The &lt;b&gt;Exec&lt;/b&gt; value was set to the path to the &lt;b&gt;Notepad&lt;/b&gt; application file (&lt;i&gt;c:\winnt\notepad.exe&lt;/i&gt;). The &lt;b&gt;Default Visible&lt;/b&gt; value was set to &lt;i&gt;Yes&lt;/i&gt;.&lt;/p&gt;
  &lt;img src="http://photos1.blogger.com/blogger/4021/214/1600/IE_toolbar_demo2.gif" style="float: right; solid 5px black;"&gt;
  &lt;p&gt;In the &lt;b&gt;Icon&lt;/b&gt; and &lt;b&gt;HotIcon&lt;/b&gt; values, the number after the comma identifies icon group inside the &lt;b&gt;Notepad&lt;/b&gt; application file (&lt;i&gt;notepad.exe&lt;/i&gt;). An icon from this icon group was to be displayed on the IE toolbar button. To identify the number for the icon group used by notepad.exe, I used a program called &lt;a href="http://www.angusj.com/resourcehacker/" target="_blank"&gt;Resource Hacker&lt;/a&gt;. If you don't have &lt;b&gt;Resource Hacker&lt;/b&gt;, you can create an icon (ICO) file for the toolbar button application and then then set its path as the &lt;b&gt;Icon&lt;/b&gt; and &lt;b&gt;HotIcon&lt;/b&gt; values. To create an icon file for your toolbar button application, open its exe file in &lt;b&gt;IrfanView&lt;/b&gt;. A number of icons inside the application file will be displayed. You can select an icon from that and save it as a 16x16 24bpp icon file.&lt;/p&gt;
  &lt;img src="http://photos1.blogger.com/blogger/4021/214/1600/IE_toolbar_registry3.gif" style="float: right; border: solid 5px black;"&gt;
  &lt;p&gt;&lt;b&gt;UPDATE (14/11/05)&lt;/b&gt;: Apart from adding ordinary applications to the IE toolbar, you can also add useful script-based applets that will work inside the IE window. For this, you need to create a &lt;b&gt;Script&lt;/b&gt; string value instead of an &lt;b&gt;Exec&lt;/b&gt; value. The &lt;b&gt;Script&lt;/b&gt; will point to a HTML file containing Javascript. In this example, I have created buttons that will scroll up and down a page. If you don't have relevant icon files, make a bitmap file in Paint and then convert it to an ICO (icon) file using IrfanView.&lt;/p&gt;
  &lt;table width="100%" align="center" style="font: NORMAL 11px HELVETICA;"&gt;
   &lt;tr&gt;
    &lt;td align="center"&gt;c:\scrollu.htm&lt;/td&gt;&lt;td align="center"&gt;c:\scrolld.htm&lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width="50%"&gt;
     &lt;xmp style="background-color: SNOW; border: DASHED 1PX FIRBRICK;"&gt;
      &lt;$cript language="Javascript" defer&gt;
       // IE toolbar script for "Scroll Up"
       // By V. Subhash (10 Nov 2005)
       // http://www.vsubhash.com/

       // identify window object
       var pwin = external.menuArguments;

       // identify window height

       var pwin_ht = pwin.document.body.clientHeight;

       // calculate length to scroll
       var scroll_ht = pwin_ht - (pwin_ht/20);

       // scroll up command
       pwin.scrollBy(0,-scroll_ht);
      &lt;/$cript&gt;
     &lt;/xmp&gt;
    &lt;/td&gt;
    &lt;td width="50%"&gt;
     &lt;xmp style="background-color: SNOW; border: DASHED 1PX FIRBRICK;"&gt;
      &lt;$cript language="Javascript" defer&gt;
       // IE toolbar script for "Scroll Down"
       // By V. Subhash (10 Nov 2005)
       // http://www.vsubhash.com/

       // identify window object
       var pwin = external.menuArguments;

       // identify window height
       var pwin_ht = pwin.document.body.clientHeight;

       // calculate length to scroll
       var scroll_ht = pwin_ht - (pwin_ht/20);

       // scroll down command
       pwin.scrollBy(0,scroll_ht);
      &lt;/$cript&gt;
     &lt;/xmp&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/table&gt;
&lt;p class="notes"&gt;Because of problems with Blogger.com not accepting script tags, a $ symbol has been included in the code listings. If you plan to use them for your machine, please remove these characters.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32256625-115483340777676859?l=techtipblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://techtipblog.blogspot.com/2006/08/how-to-add-your-favourite-applications.html</link><author>noreply@blogger.com (V Subhash)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>