Reply to topic

Where do I start? Gizmo Script
picmaster picmaster


Joined: 15 Jul 2007
Posts: 1
Reply with quote
I've been messing around w/ the thing for a few hours now. How do I, for instance, open a website?

Also, if I wanted to repeat the script is there a command to repeat the sequence of the script?
View user's profileSend private message
Logan Mueller
Support

Joined: 16 Nov 2003
Posts: 565
Reply with quote
Pass a URL to Shell.Execute()

Code:

Shell.Execute("http://www.somedomain.com/somepage.html");


Gizmo Script's syntax resembles C++. To repeat a command, or a series of instructions, use a for-loop. This code will write a string to the console 5 times.

Code:

for (int index = 0; index < 5; index ++)
{
     Gizmo.WriteDesktop("This is round " + index.ToString ());
}

_________________
Support is provided as a convenience to our users. We make no guarantees in the timeliness and accuracy in our responses. We reserve the right to refuse service to anyone.
View user's profileSend private messageVisit poster's website
Where do I start? Gizmo Script
All times are GMT - 8 Hours  
Page 1 of 1  

  
  

 Reply to topic