Jump to content

Help needed, run problem.


Jjo
 Share

Recommended Posts

I have made changes in registry so if i click file with mousebutton2 and choose "run with my program" then windows checks the command from registry i wish to execute. It can be like "C:\myprogram\program.exe -file" where the file is original file which I clicked with mousebutton2 and ran with my program. So how my program can read what was the file?

Hope you understand

Link to comment
Share on other sites

Try _ProcessListProperties() and look at the command line as returned in column 9 of the array.

:evil:

Edit: I thought you wanted that info for OTHER processes. All you need for parameters passed to your script is the $CmdLine array. See "Command Line Parameters" in the help file.

;)

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...