Jump to content

Recommended Posts

Posted

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]
  • Administrators
Posted

AutoIt3.exe script.au3 -config

CompiledScript.exe -config

$CmdLine[0] is the number for parameters (in this case 1)

$CmdLine[1] is "-config"


 

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
  • Recently Browsing   0 members

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