Sign in to follow this  
Followers 0
Mcky

Can Someone Help On Command Lines?

3 posts in this topic

How do i pass commands line to my script?? Example:

My script has two part. Start it without any command line and it will proceed normally. Start it with a command line "-config" and it will configures settings. How do i that?


My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote]

Share this post


Link to post
Share on other sites



if $CmdLine[0] > 0 then 
  if $CmdLine[1] = "-config" then 
    ; do you config stuf
  endif
endif


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0