Jump to content

Can Someone Help On Command Lines?


Mcky
 Share

Recommended Posts

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]
Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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