DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


Sidebar

Privacy Policy

News

Version1.42 is out since December 2nd 2016


Frequently Asked Questions


Namespaces

Note for contributors

If you wish to create a new page in the DroidScript wiki, please click on the most appropriate namespace above and follow the notes for contributors there.

Because of spam, it has been necessary to add a CAPTCHA to the registration form and the save option for editing pages. You will not need to prove you are human if you are logged in, so please register.

Please feel free to improve any existing page, as well as adding new pages to increase the sum of public knowledge about DroidScript.

Formatting Syntax

built_in:hue

Table of Contents

Hue

The argument hue is used in some methods to change the default color.

 app.Alert( text, title, options, hue );

For example in the method (alert) above, hue changes the color of the title and the horizontal line below of the alert.

Values

Hue is an integer between -180 and 180. The default value is 0 (blue).

Value Color
150 to 180 Orange
90 to 150 Pink
30 to 90 Purple
-30 to 30 Blue
-90 to -30 Green
-150 to -90 Yellow
-180 to -150 Orange

Example

//Orange title and horizontal line
function OnStart()
{
  app.Alert( "Hello World!", "Message", "", 180 );
}

i.imgur.com_tugy5cd.jpg

built_in/hue.txt · Last modified: 2018/05/20 19:51 by geez437