I'm looking for a vbs solution to enhance a select multiple element that reads the options from a computers.txt file with radio buttons or buttons that do various selections:
- select all
- select none
- select workstations
- select laptops
- select server
- select workstations+laptops
With that in mind I had to use a text file from which the computers are being read to something like this(IP/COMPUTER NAME/MAC ADDRESS/ROLE):
IP - value of select options
PC NAME - text of select options
MAC ADDRESS - for usage by subroutine
ROLE - to be used for selection
192.168.0.1,PC01,00-18-F4-6C-10-BB,server
192.168.0.2,PC02,00-18-F2-6C-10-BC,laptop
192.168.0.3,PC03,00-18-F5-6C-10-BD,workstation
192.168.0.4,PC04,00-18-F1-6C-10-BE,workstation
192.168.0.5,PC05,00-18-F1-6C-10-BF,laptop
192.168.0.6,PC06,00-18-F1-6C-10-BG,workstation
What would be the best approach to achieve these types of selections?
Thanks!
- select all
- select none
- select workstations
- select laptops
- select server
- select workstations+laptops
With that in mind I had to use a text file from which the computers are being read to something like this(IP/COMPUTER NAME/MAC ADDRESS/ROLE):
IP - value of select options
PC NAME - text of select options
MAC ADDRESS - for usage by subroutine
ROLE - to be used for selection
192.168.0.1,PC01,00-18-F4-6C-10-BB,server
192.168.0.2,PC02,00-18-F2-6C-10-BC,laptop
192.168.0.3,PC03,00-18-F5-6C-10-BD,workstation
192.168.0.4,PC04,00-18-F1-6C-10-BE,workstation
192.168.0.5,PC05,00-18-F1-6C-10-BF,laptop
192.168.0.6,PC06,00-18-F1-6C-10-BG,workstation
What would be the best approach to achieve these types of selections?
Thanks!