Jump to content

Recommended Posts

Posted

Hi everyone!

I wish to add the ability to launch a specific part of code from my script if the parameter is detected, is this possible?

example:

from windows --

run "autoit.exe /option1"

; --

; script begins

#includes....

if $I_GET[$option1] = TRUE then

run some stuff

exit

endif

#main code...

; --

Posted

still dont understand how this can work with my example, how do i know in my code if a run parameter has been set?

Sorry, I misunderstand, maybe $CmdLine is what you want.

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