![]() |
![]() |
![]() |
|
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 Text Color (Version 1.15) 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.
sFile="SYSTEM.INI"
sSect="386enh"
sVal_Text="MessageTextColor"
sVal_Back="MessageBackColor"
sCOL_NR=""
sCOL_TX=""
Sub Plugin_Initialize
sCOL_NR=Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F")
sCOL_TX=Array(GetTextString(5),GetTextString(6),GetTextString(7),GetTextString(8),GetTextString(9),GetTextString(10),GetTextString(11),GetTextString(12),GetTextString(13),GetTextString(14),GetTextString(15),GetTextString(16),GetTextString(17),GetTextString(18),GetTextString(19),GetTextString(20))
For i=0 to UBound(sCOL_TX)
Call SetUIElement(i+1,sCOL_TX(i))
Next
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
If ElementIndex=1 then 'Set Color
if ElementSubIndex=0 then
Call MsgWarningTextString(1)
Exit Sub 'bye bye
end if
s=sCOL_NR(ElementSubIndex-1)
Call IniWriteValue(sFile,sSect,sVal_Text,s)
else 'Reset Color
's=RegReadValue(sp)
'if not IsEmpty(s) then
' Call RegDeleteValue(sp)
'end if
'Call MsgInformatioN("The default color has been restored")
end if
Call Logoff()
End Sub
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: |
|