PrimalScript take StdIn when running vbscript

Use this forum to ask questions after your subscription maintenance expires or 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.
This topic is 8 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
seanmt13
Posts: 1
Last visit: Wed Dec 30, 2015 8:49 am

PrimalScript take StdIn when running vbscript

Post by seanmt13 »

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: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: PrimalScript take StdIn when running vbscript

Post by Alexander Riedel »

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 5147 times
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 8 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.