X-Setup Pro

Select your language: 

Windmeier Internet Services UG

X-Setup Pro | Free Vista Files Certify

X-Setup Pro Plugins

Note for everybody who is visiting this page via a search engine like Google:
This page shows the HTML version (with full source code) of one of our many plugins included with our tweaker utility X-Setup Pro. With this tool you can change over 1,700 settings for Windows and other applications - settings that are normally hidden deep inside the registry. Read more about X-Setup Pro on our Product info about X-Setup ProProduct page.

If you are interested in using this plugin, because it contains a tweak you would like to have, it's easy as 1-2-3-4:

  • Download X-Setup Pro from our Download X-Setup ProDownload page.
  • Install it on your computer and execute it.
  • On the welcome screen, select "Classic mode".
  • Simply use the information about the path and the name of the plugin shown below to easily locate it.

Plugin details

This is the HTML representation of the plugin Yahoo! Search Toolbar Button (Version 1.00) which can be found in the following path(s) in X-Setup Pro classic:
Program Options\Adobe\Acrobat Reader 7.0

The plugin can be executed on the following Windows versions (Operation Systems):
Any Windows version; Windows 95 Windows 98 Windows ME Windows 2000 Windows XP and Windows 2003

Description :
By default, Adobe Reader includes a "Search the internet with Yahoo!" button in its toolbar which is automatically displayed. Of course, the user can right-click on the toolbar and deactivate this button, but if you want to pre-configure this setting on several machines or for other users, you can also do this by using this plugin. Please note that this setting needs to be made for each user separately, since this is not a per-computer setting.

The plugin was created by Xteq Systems
Copyright © Xteq Systems - All Rights Reserved

The plugin offers the following user-interface controls:
Display "Search the internet using Yahoo!" Button

Below is the code of this plugin written in "VBScript". Please note that this code can only be executed inside X-Setup Pro.

cInstallPath="HKLM\SOFTWARE\Adobe\Acrobat Reader\7.0\InstallPath\@"

sV1="HKCU\Software\Adobe\Acrobat Reader\7.0\AVGeneral\cToolbars\cWebSearchView\cPositions\cInternal\bHidden"
sV1_Check="HKCU\Software\Adobe\Acrobat Reader\7.0\AVGeneral\cToolbars\cWebSearchView\cPositions\cInternal\"
sV1_Delete="HKCU\Software\Adobe\Acrobat Reader\7.0\AVGeneral\cToolbars\cWebSearchView\cPositions\"


'Called when the Plugin is started
Sub Plugin_Initialize
 '-----Adobe Reader INSTALL CHECK V1.0-----
 bIsInstalled=False
 sPath=RegReadValue(cInstallPath)
 if IsEmpty(sPath)=false and len(sPath)>0 then
    if right(sPath,1)<>"\" then
       sPath=sPath & "\"
    end if
    sPath=sPath & cPlugsPath

    If FolderExists(sPath)=true then
       'Call DebugMsg(sPath)
       bIsInstalled=true
    else
      Call Disable
    end if
 else
    Call Disable()
 end if
 '-----Adobe Reader INSTALL CHECK V1.0-----
 
 if bIsInstalled then 
    i=RegReadValue(sV1)
    if i<>1 then 
       SetUIElement 1,true
    end if
 end if
End Sub

'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub

'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
 i=GetUIElement(1)
 if i=true then
    'we need to know if the folder is filled with values. If so, we can easily 
    'set the button to VISIBLE. If the folder is empty, because the user has not 
    'configured it so far, we'll need to REMOVE the value. Else, if the user
    'decideds to activate the button, it would be on the very first position of the
    'toolbar which is totally UGLY...
    
    iNumValues=RegEnumValues(sV1_Check)
    if iNumValues>1 then 'we have values!
       Call RegWriteValue(sV1,0,2)
    else
       'we don't have any values. Delete the value and the path!
       if RegValueExists(sV1) then Call RegDeleteValue(sV1)
       if RegPathExists(sV1_Check) then Call RegDeletePath(sV1_Check)
       if RegPathExists(sV1_Delete) then Call RegDeletePath(sV1_Delete)
    end if
 else
    Call RegWriteValue(sV1,1,2)
 end if 


End Sub

'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub

You can get more detailed information about this plugin inside the application X-Setup Pro. Get the most popular tweaker software for free: Download X-Setup ProDownload X-Setup Pro