English Deutsch Français Italiano Particle Software Buy Now


Particle Software
 
Get Multiple Keys
   ..::   About  •  Acquisto  •  Cerca  •  Contatti  • Home   ::..
 
Screenshots
• Prova
Downloads
Risorse
• Macro

 
   Below shows how IntraLaunch can be used to obtain all the values for a given key. GetMultipleRegKey() returns false if not found or at the end of the list. You should escape each backslash with a backslash so your key path might look like HKEY_USERS\\.DEFAULT\\Control Panel\\International\\sCountry.

   The value return is 'value=data' You can use Javascript's split() to split the result into value name and value data as shown below. IntraLaunch 4.9 or higher required.


 
 
<HTML>

<SCRIPT LANGUAGE="JavaScript">
  function CheckKeys()
  {
    var sResult;
    var sValues;

    while (sResult = IntraLaunch.GetMultipleRegKey("HKEY_US\\...\\AllFonts"))
    {
        if (sResult == "" || sResult == false)
        {
           alert ('Done!');
           break;
        }
        else
        {
           sValues = sResult.split('=');
           alert ("Name: " + sValues[0] + " Value: " + sValues[1]);
        }
    }
  }
</SCRIPT>

<BODY>

<a href="Javascript:CheckKeys();">Check Key</a>

</BODY>

<OBJECT ID="IntraLaunch" STYLE="display : none" WIDTH=1 HEIGHT=1    CODEBASE="http://intranet.net/menu/IntraLaunch.CAB#version=5,0,0,0"
   CLASSID="CLSID:0AE533FE-B805-4FD6-8AE1-A619FBEE7A23">
   <PARAM NAME="ImageLoc" VALUE="Null">
   <PARAM NAME="ImageSrc" VALUE="Null">
   <PARAM NAME="Run" VALUE="Null">
   <PARAM NAME="RunParms" VALUE="">
</OBJECT>

</HTML>
 
 
       



Copyright © 1997-2012 Particle Software - All Rights Reserved
Web services provided by Extreme Hosting