color, make, get, create, rgb, scriptless, script-less, scripted, step, view, stepview

Method Zap.MakeColorFromName

Makes Color Property Value from Color Name

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.MakeColorFromName ( 
	String Name
)

ZAP Utility

Zap.Make...Name

blue

colorNumber

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

ZAP Utility

Zap.Make...Name

blue

colorNumber

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227