Jump to content

Recommended Posts

Posted

OK, my exe1 calls my exe2. I need exe2 to read variables and an ini from exe1. How do I do this?

Hi,

what about parameter like start exe2 hugo 123

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted (edited)

he is talking about cmd paramaters http://www.autoitscript.com/autoit3/docs/i...htm#CommandLine

Edited by RazerM
My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Posted (edited)

I have no idea what that is or how it relates. Could you elaborate a bit?

HI,

Reading the ini should work as usual. And the parameter i mentioned works as follows:

You run the exe a give some values called parameters with your call.

Like iexplore.exe -k

-k is the parameter.

Then you use If $cmdline[0] > 0 And $cmdLine[1] = K Then ...

in your second exe.

Just a thought.

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

I still don't understand that, I've been wrapping my head around it for the past hour. What I'm thinking I'll probobly do instead is:

If ControlCommand("N.A.M.", "", 12303, "IsChecked", "") = 1 Then 
    MsgBox(64,"test 1","it is checked")
Else
    MsgBox(64,"test 2", "not checked")
    EndIf

BUT, my question to this is, how can I be sure with the MILLIONS of software out there that none others have the same control ID....or is that a risk I take....or is that why I would put text in, that way if something has the same ID it would be distinguishable?

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