![]() |
![]() |
![]() |
|
X-Setup Pro PluginsNote for everybody who is visiting this page via a search engine like Google: 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:
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:
The plugin can be executed on the following Windows versions (Operation Systems):
Description :
The plugin was created by Xteq Systems
The plugin offers the following user-interface controls: 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: |
|