Note that there are some explanatory texts on larger screens.

plurals
  1. USStisfa
    primarykey
    data
    text
    plurals
    1. COSince I'm pretty dumb (actually, really dumb), it took me awhile to piece it together. Just in case there's anybody who's as dumb as I am (which is pretty hard to accomplish, so I'll assume that it's probably an individual that is newer to VBS than I am) I've posted the final code to the question. Unless, of course, you want to Copy & Paste it into your answer Cheran? Unfortunately, I haven't really figured out exactly how UBound works (the very term "subscript" evades me); I'll eventually get it, but for now, I'm content with working code =D. Thanks a bunch Cheran!
      singulars
    2. COWoops! To your second point, I completely forgot to edit that ElseIf string to 2! I was prototyping with a couple more items and removed a few from the 2nd Array, but I didn't clean the interacting code block. Give me some time to digest your post, as your use of the Array function, the Mod operator & the UBound function are all new to me (thanks for remembering that I'm a complete neophyte & adding those resource links!). After I test & figure out how the complete script should look like, I'll make sure to get you the "Check Mark". You won't have to wait as long as last time, though =D.
      singulars
    3. CO@Cheran S - LOL, sorry; I've got a fall back. I never accounted for that issue b/c of two reasons: (1) I didn't have working code, rofl. (2) I use this command in the Run Dialogue Box: `TaskKill /Im Wscript.exe /F`. There's one caveat to that: I'm running XP Professional Clients, and the "TaskKill" Command only works on XP Pro. The alternative, for XP Home is `TsKill Wscript`. I believe this principle applies for all Home vs Pro editions (XP/Vista/7). Once again, sorry about that.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload