Welcome
SliderCPV
1.0.0.0
Ceone
produceone@gmail.com
SliderCPV.CreateObject
SliderCPV.SetCurrentPos
SliderCPV.GetCurrentPos
SliderCPV.SetRange
SliderCPV.GetRange
SliderCPV.SetOrientation
SliderCPV.GetOrientation
SliderCPV.SetRailStyle
SliderCPV.GetRailStyle
SliderCPV.SetBackColor
SliderCPV.GetBackColor
SliderCPV.ShowValueTip
SliderCPV.IsShowValueTip
SliderCPV.StartEvents
SliderCPV.CreateObject ( | (string) ObjectName = "Plugin1", (number) Orientation = Horizontal, (number) RailStyle = Sunken, (number) RangeMin = 0, (number) RangeMax = 100, (number) CurrentPos = 0, (number) BackColor = 0, (boolean) ShowValueTip = true, (boolean) ActiveEvents = true ) |
To create SliderCPV object.
(string) ObjectName
(number) Orientation
CONSTANT | VALUE | DESCRIPTION |
Horizontal | 0 | Horizontal Value |
Vertical | 1 | Vertical Value |
(number) RailStyle
CONSTANT | VALUE | DESCRIPTION |
Sunken | 0 | Sunken value |
Raised | 1 | Raised value |
SunkenSoft | 2 | SunkenSoft value |
RaisedSoft | 3 | RaisedSoft value |
(number) RangeMin
(number) RangeMax
(number) CurrentPos
(number) BackColor
(boolean) ShowValueTip
(boolean) ActiveEvents(if active events need active first SliderCPV.StartEvents function)
This action dose not return any value.
SliderCPV.StartEvents("Plugin1","Plugin2","Plugin3","Plugin4","Plugin5","Plugin6","Plugin7","Plugin8","Plugin9","Plugin10","Plugin11","Plugin12");
SliderCPV.CreateObject("Plugin1", Horizontal, Sunken, 0, 100, 0, Math.Random(1, 2999999), true, true);
SliderCPV.CreateObject("Plugin2", Horizontal, Raised, 0, 100, 20, Math.Random(1, 4999999), false, true);
SliderCPV.CreateObject("Plugin3", Horizontal, SunkenSoft, 0, 100, 40, Math.Random(1, 1999999), true, true);
SliderCPV.CreateObject("Plugin4", Horizontal, RaisedSoft, 0, 100, 60, Math.Random(1, 5999999), false, true);
SliderCPV.CreateObject("Plugin5", Horizontal, Sunken, 0, 100, 80, Math.Random(1, 7999999), true, true);
SliderCPV.CreateObject("Plugin6", Horizontal, Raised, 0, 100, 100, Math.Random(1, 1999999), false, true);
SliderCPV.CreateObject("Plugin7", Vertical, SunkenSoft, 0, 100, 0, Math.Random(1, 2999999), true, true);
SliderCPV.CreateObject("Plugin8", Vertical, RaisedSoft, 0, 100, 20, Math.Random(1, 4999999), false, true);
SliderCPV.CreateObject("Plugin9", Vertical, Sunken, 0, 100, 40, Math.Random(1, 1999999), true, true);
SliderCPV.CreateObject("Plugin10", Vertical, Raised, 0, 100, 60, Math.Random(1, 5999999), false, true);
SliderCPV.CreateObject("Plugin11", Vertical, SunkenSoft, 0, 100, 80, Math.Random(1, 7999999), true, true);
SliderCPV.CreateObject("Plugin12", Vertical, RaisedSoft, 0, 100, 100, Math.Random(1, 1999999), false, true);
SliderCPV.SetCurrentPos ( | (string) ObjectName = "Plugin1", (number) CurrentPos = 0 ) |
To set CurrentPos
(string) ObjectName
(number) CurrentPos
This action dose not return any value.
for z=1,12 do
SliderCPV.SetCurrentPos("Plugin"..z, Math.Random(0, 100));
end
(number) SliderCPV.GetCurrentPos ( | (string) ObjectName = "Plugin1" ) |
To get CurrentPos
(string) ObjectName
(number)
tblCurPos ={}
for z=1,12 do
tblCurPos[z] = SliderCPV.GetCurrentPos("Plugin"..z);
end
text = "Plugin1 CurrentPos: "..tblCurPos[1].."\r\n"
text = text.."Plugin2 CurrentPos: "..tblCurPos[2].."\r\n"
text = text.."Plugin3 CurrentPos: "..tblCurPos[3].."\r\n"
text = text.."Plugin4 CurrentPos: "..tblCurPos[4].."\r\n"
text = text.."Plugin5 CurrentPos: "..tblCurPos[5].."\r\n"
text = text.."Plugin6 CurrentPos: "..tblCurPos[6].."\r\n"
text = text.."Plugin7 CurrentPos: "..tblCurPos[7].."\r\n"
text = text.."Plugin8 CurrentPos: "..tblCurPos[8].."\r\n"
text = text.."Plugin9 CurrentPos: "..tblCurPos[9].."\r\n"
text = text.."Plugin10 CurrentPos: "..tblCurPos[10].."\r\n"
text = text.."Plugin11 CurrentPos: "..tblCurPos[11].."\r\n"
text = text.."Plugin12 CurrentPos: "..tblCurPos[12].."\r\n"
Dialog.Message("", text);
SliderCPV.SetRange ( | (string) ObjectName = "Plugin1", (number) Min = 0, (number) Max = 100 ) |
To set current position
(string) ObjectName
(number) Min
(number) Max
This action dose not return any value.
InA = Input.GetText("Input1")
InB = Input.GetText("Input2")
if (InA == "Min") or (InB == "Max") or (InA == "") or (InB == "") then
Dialog.Message("", "Set Range numbers in Input1(Min) and Input2(Max)");
else
for z=1,12 do
SliderCPV.SetRange("Plugin"..z, InA, InB);
SliderCPV.SetCurrentPos("Plugin"..z, Math.Random(InA, InB));
end
end
(table) SliderCPV.GetRange ( | (string) ObjectName = "Plugin1" ) |
To get Range
(string) ObjectName
(table)
tblRange = SliderCPV.GetRange("Plugin1")
Dialog.Message("", "All Plugins Range Is: "..tblRange.Min.." Min, "..tblRange.Max.." Max.");
SliderCPV.SetOrientation ( | (string) ObjectName = "Plugin1", (number) Orientation = Horizontal ) |
To set current position
(string) ObjectName
(number) Orientation
CONSTANT | VALUE | DESCRIPTION |
Horizontal | 0 | Horizontal value |
Vertical | 1 | Vertical value |
This action dose not return any value.
result = ComboBox.GetItemData("ComboBox1", e_Selection)
for z=1,12 do
SliderCPV.SetOrientation("Plugin"..z, result);
end
(number) SliderCPV.GetOrientation ( | (string) ObjectName = "Plugin1" ) |
To get Orientation
(string) ObjectName
(number)
result = SliderCPV.GetOrientation("Plugin1")
SliderCPV.SetRailStyle ( | (string) ObjectName = "Plugin1", (number) RailStyle = Sunken ) |
To set current position
(string) ObjectName
(number) RailStyle
CONSTANT | VALUE | DESCRIPTION |
Sunken | 0 | Sunken value |
Raised | 1 | Raised value |
SunkenSoft | 2 | SunkenSoft value |
RaisedSoft | 3 | RaisedSoft value |
This action dose not return any value.
result = ComboBox.GetItemData("ComboBox1", e_Selection)
for z=1,12 do
SliderCPV.SetRailStyle("Plugin"..z, result);
end
(number) SliderCPV.GetRailStyle ( | (string) ObjectName = "Plugin1" ) |
To get RailStyle
(string) ObjectName
(number)
tblRailStyle ={}
for z=1,12 do
tblRailStyle[z] = SliderCPV.GetRailStyle("Plugin"..z);
if tblRailStyle[z] == 0 then
tblRailStyle[z] = "Sunken"
elseif tblRailStyle[z] == 1 then
tblRailStyle[z] = "Raised"
elseif tblRailStyle[z] == 2 then
tblRailStyle[z] = "SunkenSoft"
elseif tblRailStyle[z] == 3 then
tblRailStyle[z] = "RaisedSoft"
end
end
if (tblRailStyle[2] == tblRailStyle[4]) and (tblRailStyle[7] == tblRailStyle[12]) then
text = "All Plugins RailStyle Is: "..tblRailStyle[1]
else
text = "Plugin1 RailStyle: "..tblRailStyle[1].."\r\n"
text = text.."Plugin2 RailStyle: "..tblRailStyle[2].."\r\n"
text = text.."Plugin3 RailStyle: "..tblRailStyle[3].."\r\n"
text = text.."Plugin4 RailStyle: "..tblRailStyle[4].."\r\n"
text = text.."Plugin5 RailStyle: "..tblRailStyle[5].."\r\n"
text = text.."Plugin6 RailStyle: "..tblRailStyle[6].."\r\n"
text = text.."Plugin7 RailStyle: "..tblRailStyle[7].."\r\n"
text = text.."Plugin8 RailStyle: "..tblRailStyle[8].."\r\n"
text = text.."Plugin9 RailStyle: "..tblRailStyle[9].."\r\n"
text = text.."Plugin10 RailStyle: "..tblRailStyle[10].."\r\n"
text = text.."Plugin11 RailStyle: "..tblRailStyle[11].."\r\n"
text = text.."Plugin12 RailStyle: "..tblRailStyle[12].."\r\n"
end
Dialog.Message("", text);
SliderCPV.SetBackColor ( | (string) ObjectName = "Plugin1", (number) BackColor = 0 ) |
To set current position
(string) ObjectName
(number) BackColor
This action dose not return any value.
result = DLL.CallFunction("AutoPlay\\Docs\\ColorDlg.dll", "ShowColorDlg", "", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
if result ~= "-1" then
tbResults = DelimitedStringToTable(result,"|");
Dec = String.ToNumber(tbResults[1]);
for z=1,12 do
SliderCPV.SetBackColor("Plugin"..z, Dec);
end
end
(number) SliderCPV.GetBackColor ( | (string) ObjectName = "Plugin1" ) |
To get BackColor
(string) ObjectName
(number)
tblColor ={}
for z=1,12 do
tblColor[z] = SliderCPV.GetBackColor("Plugin"..z);
end
if (tblColor[2] == tblColor[4]) and (tblColor[7] == tblColor[12]) then
text = "All Plugins Color Is: "..tblColor[1]
else
text = "Plugin1 Color: "..tblColor[1].."\r\n"
text = text.."Plugin2 Color: "..tblColor[2].."\r\n"
text = text.."Plugin3 Color: "..tblColor[3].."\r\n"
text = text.."Plugin4 Color: "..tblColor[4].."\r\n"
text = text.."Plugin5 Color: "..tblColor[5].."\r\n"
text = text.."Plugin6 Color: "..tblColor[6].."\r\n"
text = text.."Plugin7 Color: "..tblColor[7].."\r\n"
text = text.."Plugin8 Color: "..tblColor[8].."\r\n"
text = text.."Plugin9 Color: "..tblColor[9].."\r\n"
text = text.."Plugin10 Color: "..tblColor[10].."\r\n"
text = text.."Plugin11 Color: "..tblColor[11].."\r\n"
text = text.."Plugin12 Color: "..tblColor[12].."\r\n"
end
Dialog.Message("", text);
SliderCPV.ShowValueTip ( | (string) ObjectName = "Plugin1", (boolean) ShowValueTip = true ) |
To set current position
(string) ObjectName
(boolean) ShowValueTip
This action dose not return any value.
for z=1,12 do
SliderCPV.ShowValueTip("Plugin"..z, true);
end
(boolean) SliderCPV.IsShowValueTip ( | (string) ObjectName = "Plugin1" ) |
To get is IsShowValueTip
(string) ObjectName
(boolean)
tblShowValueTip ={}
for z=1,12 do
tblShowValueTip[z] = SliderCPV.IsShowValueTip("Plugin"..z);
end
if (tblShowValueTip[2] == tblShowValueTip[4]) and (tblShowValueTip[7] == tblShowValueTip[12]) then
text = "All Plugins ShowValueTip Is: "..tostring(tblShowValueTip[1])
else
text = "Plugin1 ShowValueTip Is: "..tostring(tblShowValueTip[1]).."\r\n"
text = text.."Plugin2 ShowValueTip Is: "..tostring(tblShowValueTip[2]).."\r\n"
text = text.."Plugin3 ShowValueTip Is: "..tostring(tblShowValueTip[3]).."\r\n"
text = text.."Plugin4 ShowValueTip Is: "..tostring(tblShowValueTip[4]).."\r\n"
text = text.."Plugin5 ShowValueTip Is: "..tostring(tblShowValueTip[5]).."\r\n"
text = text.."Plugin6 ShowValueTip Is: "..tostring(tblShowValueTip[6]).."\r\n"
text = text.."Plugin7 ShowValueTip Is: "..tostring(tblShowValueTip[7]).."\r\n"
text = text.."Plugin8 ShowValueTip Is: "..tostring(tblShowValueTip[8]).."\r\n"
text = text.."Plugin9 ShowValueTip Is: "..tostring(tblShowValueTip[9]).."\r\n"
text = text.."Plugin10 ShowValueTip Is: "..tostring(tblShowValueTip[10]).."\r\n"
text = text.."Plugin11 ShowValueTip Is: "..tostring(tblShowValueTip[11]).."\r\n"
text = text.."Plugin12 ShowValueTip Is: "..tostring(tblShowValueTip[12]).."\r\n"
end
Dialog.Message("", text);
SliderCPV.StartEvents ( | (string) ObjectName1 = "Plugin1", (string) ObjectName2 = nil, (string) ObjectName3 = nil, (string) ObjectName4 = nil, (string) ObjectName5 = nil, (string) ObjectName6 = nil, (string) ObjectName7 = nil, (string) ObjectName8 = nil, (string) ObjectName9 = nil, (string) ObjectName10 = nil, (string) ObjectName11 = nil, (string) ObjectName12 = nil, (string) ObjectName13 = nil, (string) ObjectName14 = nil, (string) ObjectName15 = nil ) |
To start events of SliderCPV object. (Max. 15)
(string) The name 1 of the SliderCPV object.
(string) The name 2 of the SliderCPV object.
(string) The name 3 of the SliderCPV object.
(string) The name 4 of the SliderCPV object.
(string) The name 5 of the SliderCPV object.
(string) The name 6 of the SliderCPV object.
(string) The name 7 of the SliderCPV object.
(string) The name 8 of the SliderCPV object.
(string) The name 9 of the SliderCPV object.
(string) The name 10 of the SliderCPV object.
(string) The name 11 of the SliderCPV object.
(string) The name 12 of the SliderCPV object.
(string) The name 13 of the SliderCPV object.
(string) The name 14 of the SliderCPV object.
(string) The name 15 of the SliderCPV object.
This action dose not return any value.
SliderCPV.StartEvents("Plugin1","Plugin2","Plugin3","Plugin4","Plugin5","Plugin6","Plugin7","Plugin8","Plugin9","Plugin10","Plugin11","Plugin12");
SliderCPV.CreateObject("Plugin1", Horizontal, Sunken, 0, 100, 0, Math.Random(1, 2999999), true, true);
SliderCPV.CreateObject("Plugin2", Horizontal, Raised, 0, 100, 20, Math.Random(1, 4999999), false, true);
SliderCPV.CreateObject("Plugin3", Horizontal, SunkenSoft, 0, 100, 40, Math.Random(1, 1999999), true, true);
SliderCPV.CreateObject("Plugin4", Horizontal, RaisedSoft, 0, 100, 60, Math.Random(1, 5999999), false, true);
SliderCPV.CreateObject("Plugin5", Horizontal, Sunken, 0, 100, 80, Math.Random(1, 7999999), true, true);
SliderCPV.CreateObject("Plugin6", Horizontal, Raised, 0, 100, 100, Math.Random(1, 1999999), false, true);
SliderCPV.CreateObject("Plugin7", Vertical, SunkenSoft, 0, 100, 0, Math.Random(1, 2999999), true, true);
SliderCPV.CreateObject("Plugin8", Vertical, RaisedSoft, 0, 100, 20, Math.Random(1, 4999999), false, true);
SliderCPV.CreateObject("Plugin9", Vertical, Sunken, 0, 100, 40, Math.Random(1, 1999999), true, true);
SliderCPV.CreateObject("Plugin10", Vertical, Raised, 0, 100, 60, Math.Random(1, 5999999), false, true);
SliderCPV.CreateObject("Plugin11", Vertical, SunkenSoft, 0, 100, 80, Math.Random(1, 7999999), true, true);
SliderCPV.CreateObject("Plugin12", Vertical, RaisedSoft, 0, 100, 100, Math.Random(1, 1999999), false, true);
This File Was Generated With AMS ActionFile Editor