Jump to content
Rick Weijenberg

Swyx VBscript set string

Recommended Posts

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

Edited by Rick Weijenberg

Share this post


Link to post
Share on other sites

dim sAnnouncement

 

select case casename

  case case0

    sAnnouncement = case0.wav

    bReturn = True

  case case1

    sAnnouncement = case0.wav
    bReturn = True

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • 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.