On 3/22/06 1:10 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:
> Ken, > > If I understand this the "VBS" will run if "VB Script" is in > pSriptType because there is no break after the case "VB Script"? > I just never wrote a switch that way and well, this is the first time > I've seen that. Yes you're right. If there's no "break", the case will fall through to the next case. I use this to provide different options to the end user. > What is the difference between straight to console and not? Why is > that important? Excellent question, and unfortunately one I can't remember! :-) I remember putting it into the code for others that may want to use the option, but I never have. And after looking on Microsoft's site, it looks like it may be no longer an option. So just ignore it for now. > Lastly, I notice that Python is not among the parameters. Is it not a > choice or is it so different as to not work in this case? To be honest, I know so little about Python that I didn't know if you can execute Python code in a similar way as VB Script. Do you know if it can? I'd love to extend stsDoScript, but don't know what needs to be done. > P.S. I just tried a vb script stored in a field and it worked and is > awesome. > > Thank you so much for this. My pleasure! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] _______________________________________________ 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
