Method MakeColorFromName

Makes Color Property Value from Color Name

Usage

Function ZAP.MakeColorFromName ( 
	String Name
)

ZAP Utility

ZAP Utility step

ZAP.Make...Name

blue

colorNumber

String Name

Output Parameter

Parameters

Name

Type: String

Color Name ("green", "blue", etc)

Returns

Color Value, "0" if the color name is unknown

Example

VBScript

msgbox Zap.MakeColorFromName("blue")

JavaScript

alert(Zap.MakeColorFromName("blue"));

Comment

Get color property value and save it to colorNumber variable parameter

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Make...Name

blue

colorNumber