laffo16 Posted August 15, 2008 Posted August 15, 2008 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... ; --
laffo16 Posted August 15, 2008 Author Posted August 15, 2008 still dont understand how this can work with my example, how do i know in my code if a run parameter has been set?
Andreik Posted August 15, 2008 Posted August 15, 2008 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.
laffo16 Posted August 15, 2008 Author Posted August 15, 2008 (edited) i think this is what im looking, thanks andreik Edited August 15, 2008 by laffo16
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now