VBscript in 2.9: the return has to be put in the variable "result"
do "result = 1 + 1" as "vbscript"
answer the result
And this works :-)
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 14-dec-07, at 11:45, Kay C Lan wrote:
On Dec 13, 2007 12:19 AM, Dan Friedman <[EMAIL PROTECTED]>
wrote:
All I get is "execution error". My guess is the problem is the
"Wscript.Echo" command. But, how do you get a variable/parameter to
return
using VBScript?
Definitely not an expert with Win or VBScript, but from my readings
of the
Rev docs I believe 'do' only works for Rev statements or Apple
recognised
scripting languages - which counts VBScript out. I seem to recall
recently
in another post someone mentioning that VBScript will work in do
statements
with Rev 2.9.
I think, until 2.9 comes, you might need to have a look at the 'shell'
command.
HTH
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution