Jump to content

Swyx VBscript set string


Rick Weijenberg

Recommended Posts

Posted

Dear Sir / Madam,

At the moment, I'm working on creating a script in which to introduce a variable band.

now let me check him by 'case'. this is what i have now:

  select case casename
     case case0
       bReturn = True
     case case1
       bReturn = True


Now I want to choose a different announcement at case0 than for case1, for example:
case0.wav and case1.wav.

Could anyone help me here?

 

 

Sincerely,

Rick Weijenberg

  • 1 month later...
  • Most Valued User
Posted

dim sAnnouncement

 

select case casename

  case case0

    sAnnouncement = case0.wav

    bReturn = True

  case case1

    sAnnouncement = case0.wav
    bReturn = True

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.