The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Help needed parsing text in VB Script


  • Subject: Help needed parsing text in VB Script
  • From: "Paul Gale" <groups@xxxxxxxxxxxxxxxx>
  • Date: Sat, 16 Dec 2006 12:41:23 -0000

I=92m just trying to setup MainLobby to control an Extron MAV128
switcher =
=96 using the new Generic  Device plugin for MLS.

I need to parse some text in a variable in a VBA (VB Script/WSC) window
but=
don=92t know how to do this.

For example, if I send a status request to the device =93V0.=94, I get the
=
response:

1 6 1 12 4 5 3 8 Vid 1 6 1 12 4 5 3 8 Aud <CR/LF>

Each of these numbers represents an input assigned to the output in the
pos=
ition the number is in i.e. the second digit means input 6 is assigned to
o=
utput 2.

I need to poke each of these values into a variable.

What commands and syntax could I use to do this? Note that the numbers
coul=
d be one or two digits (number 1 to 12) and are separated by a space.

Thanks,

Paul.





[Non-text portions of this message have been removed]



** Sponsored by http://www.BERBLE.com **
all the Cool Stuff, in one Place=20



UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.