Jump to content

Cases - autoitx


Recommended Posts

Hey guys

Do these case statements look righ to you/ I'm still learning vbscript

Also is there a way to include a vbscript like there is with javascript by using the .js ending in a file

Rick

Hey guys

did I do these cases right?

var4=oAutoIt.Iniwrite(localpath&"\modules\rkcontrol.ini", "Commands", "Execute",TheForm.Action.Value)

select case TheForm.Action.Value

case MakeSubmitByRick

oAutoIt3.runwait localpath&"\modules\makesubmit.exe",""

case DeleteSubmitByRick

oAutoIt3.runwait localpath&"\modules\makesubmit.exe",""

case StartSubmitByRick

oAutoIt3.runwait localpath&"\modules\startsubmit.exe",""

end select

Thanks

Rick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...