Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Created July 27, 2012 11:02
Show Gist options
  • Select an option

  • Save DinisCruz/3187426 to your computer and use it in GitHub Desktop.

Select an option

Save DinisCruz/3187426 to your computer and use it in GitHub Desktop.
o2 Script: Simple examples of .script_Me() functionality
//var topPanel = "{name}".popupWindow(700,400);
var topPanel = panel.clear().add_Panel();
var textBox = topPanel.add_TextBox(true);
textBox.set_Text("hello world");
textBox.script_Me();
//var topPanel = "{name}".popupWindow(700,400);
var topPanel = panel.clear().add_Panel();
var textBox = topPanel.add_TextBox(true);
textBox.set_Text("hello world");
textBox.script_Me()
.set_Script("textBox.set_Text(\"Hi from the other script\");".line() +
"textBox.azure();".line() +
"return textBox;");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment