Support Forums

PrimalScript take StdIn when running vbscript

Use this forum to ask questions before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
User avatar
seanmt13
Posts: 1
Joined: Wed Dec 30, 2015 9:06 am

PrimalScript take StdIn when running vbscript

Postby seanmt13 » Wed Dec 30, 2015 9:49 am

So when i am debugging and my vbscript comes across a Wscript.StdIn line a window pops up asking for input. But when i run the script normally in PrimalScript i see the wscript.echo commands in the output window asking for input but there doesn't seem to be a way to enter in input for the Wscript.StdIn command. Am i missing something?
User avatar
Alexander Riedel
Posts: 5858
Joined: Tue May 29, 2007 4:43 pm

Re: PrimalScript take StdIn when running vbscript

Postby Alexander Riedel » Wed Dec 30, 2015 11:50 am

The debugger has a special host to allow debugging scripts that require input, otherwise it wouldn't be much use :D
However, when you run a script it runs it with the standard CScript.exe. Most scripts only produce output and that is captured and conveyed into the output window.

Running interactive scripts requires the use of a console.

12-30-2015 10-28-50 AM.png
12-30-2015 10-28-50 AM.png (167.72 KiB) Viewed 3686 times
Alexander Riedel
SAPIEN Technologies, Inc.

Return to “Trial Software Questions”

Who is online

Users browsing this forum: No registered users and 1 guest

cron