Can you call command maps from within a script?

Forum to discuss MLScript plugin that enables VBScript and JavaScript scripting within MLServer3.
MurrayW
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1198
Joined: Sun Mar 07, 2004 1:05 pm
Location: Austin, TX
Contact:

Can you call command maps from within a script?

Postby MurrayW » Mon Sep 01, 2008 4:04 am

Can you call a command map from within a script? If I had a command map named "DoABunchOfStuff" would the following be the correct syntax?

Code: Select all

MLServer.cmdReceive MlServeCmd.Macro|DoABunchOfStuff


thanks,
Murray

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Postby CinemarDave » Mon Sep 01, 2008 12:55 pm

MLServer.cmdReceive "DoABunchOfStuff"

is the syntax you want to use.

MurrayW
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1198
Joined: Sun Mar 07, 2004 1:05 pm
Location: Austin, TX
Contact:

Postby MurrayW » Mon Sep 01, 2008 1:09 pm

CinemarDave wrote:MLServer.cmdReceive "DoABunchOfStuff"

is the syntax you want to use.
Thanks!


Return to “MLScript”

Who is online

Users browsing this forum: No registered users and 1 guest