Graph Help File

Graph Help File

Plugin Name:

Graph

Current Version:

1.0.0.0

Author:

Ceone

E-mail:

produceone@gmail.com

Requirements:

This Object Plugin require Memory Action Plugin and Graph ActiveX.


Table of Contents

Graph.CreateObject
Graph.SetPercent
Graph.GetPercent
Graph.SetColors
Graph.GetColors

Graph.CreateObject


Graph.CreateObject ( 

(string) ObjectName = "Plugin1",

(number) Percent = 0,

(number) PrimaryColor = 0,

(number) SecondaryColor = 0,

(number) ShadowColor = 0,

(number) BackColor = 0 )

Description

To create graph object plugin.

Parameters

ObjectName

(string) To set ObjectName

Percent

(number) To set Percent

PrimaryColor

(number) To set PrimaryColor

SecondaryColor

(number) To set SecondaryColor

ShadowColor

(number) To set ShadowColor

BackColor

(number) To set BackColor

Returns

This action dose not return any value.


Example

Graph.CreateObject("Plugin1", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));
Graph.CreateObject("Plugin2", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));
Graph.CreateObject("Plugin3", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));
Graph.CreateObject("Plugin4", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));
Graph.CreateObject("Plugin5", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));
Graph.CreateObject("Plugin6", Math.Random(0, 100), Math.Random(0, 9999999), Math.Random(0, 9999999), Math.Random(0, 9999999));



Graph.SetPercent


Graph.SetPercent ( 

(string) ObjectName = "Plugin1",

(number) Percent = 0 )

Description

To SetPercent

Parameters

ObjectName

(string) To set ObjectName

Percent

(number) To set Percent

Returns

This action dose not return any value.


Example

for Percent=0, Math.Random(10, 100) do
    Graph.SetPercent(tostring(ComboBox.GetItemText("ComboBox1", ComboBox.GetSelected("ComboBox1"))), Percent);
    Application.Sleep(10);
end



Graph.GetPercent


(number) Graph.GetPercent ( 

(string) ObjectName = "Plugin1" )

Description

To GetPercent

Parameters

ObjectName

(string) To set ObjectName

Returns

(number) return percent number.


Example

result = Graph.GetPercent(tostring(ComboBox.GetItemText("ComboBox1", ComboBox.GetSelected("ComboBox1"))));

Dialog.Message("", result.." %");



Graph.SetColors


Graph.SetColors ( 

(string) ObjectName = "Plugin1",

(number) PrimaryColor = 0,

(number) SecondaryColor = 0,

(number) ShadowColor = 0,

(number) BackColor = 0 )

Description

To SetColors

Parameters

ObjectName

(string) To set ObjectName

PrimaryColor

(number) To set PrimaryColor

SecondaryColor

(number) To set SecondaryColor

ShadowColor

(number) To set ShadowColor

BackColor

(number) To set BackColor

Returns

This action dose not return any value.


Example

randA = Math.Random(0, 9999999)
randB = Math.Random(0, 9999999)
randC = Math.Random(0, 9999999)
randD = Math.Random(0, 9999999)
Graph.SetColors(tostring(ComboBox.GetItemText("ComboBox1", ComboBox.GetSelected("ComboBox1"))), randA, randB, randC, randD);



Graph.GetColors


(table) Graph.GetColors ( 

(string) ObjectName = "Plugin1" )

Description

To GetColors

Parameters

ObjectName

(string) To set ObjectName

Returns

(table) return table with: "PrimaryColor", "SecondaryColor", "ShadowColor" and "BackColor".


Example

result = Graph.GetColors(tostring(ComboBox.GetItemText("ComboBox1", ComboBox.GetSelected("ComboBox1"))));

if result ~= nil then
    text = "Back: "..result.Back.."\r\n"
    text = text.."Primary: "..result.Primary.."\r\n"
    text = text.."Secondary: "..result.Secondary.."\r\n"
    text = text.."Shadow: "..result.Shadow

    Dialog.Message("", text);
end





This File Was Generated With AMS ActionFile Editor