GraffitiVBScript

$intcount = 0;
$marberSubPages = new WP_Query();
$marberSubPages->query(“post_status=’publish’&post_type=page&orderby=menu_order&post_parent=512″);
while($marberSubPages->have_posts()) : $marberSubPages->the_post();
?>

if ($intcount == 3) {
$intcount = 0;
echo "

“;
echo “

“;
} ?>


/images/trans.gif” class=”rbclass” />

Events

Done( Error as GraffitiVBScriptError )
Fired when the operation is complete. Error contains an instance of any GraffitiVBScript which represents any errors which were returned from the operation.

StateChange()
Fired when the running state of the class has changed, allowing users to show status of the operation.

Methods

Run()
Starts the thread and operation.

Properties

Arguments() as String
Array of custom arguments to be passed in to the script before running.

IsRunning as Boolean
Returns whether the thread is currently active.

Result as String
The output from the script after the operation is complete.

Source as String
The input script to be run.

State as Integer
Returns the current running state of the class.
Valid Values:
StateIdle(0)
StatePreparingScript(1)
StateRunning(2)
StateError(3)
StateStopped(4)

Timeout as Integer
Sets the running timeout for the script. Value cannot be greater than 32767, or less than 0.