Jump to content

Recommended Posts

Posted

Often I need starting program with unusual command line parameter, so I love the small tweak Execparm, that you can download here:

http://www.mainsoft.fr/freeware_en.htm

Freeware, of course.

Unluckly it do not let you add parameter to au3 files if you do not fix the registry.

So if you want (and you should) have a right click option like Execute with parameters you have to install Execparm and import this .reg

REGEDIT4

[HKEY_CLASSES_ROOT\AutoIt3Script\ShellEx\ContextMenuHandlers\ExecContextMenu]
@="{B005017D-B7DD-11CF-BB51-0000B465A4FF}"
Guest rathore
Posted

i suppose that can easily be done through a script.

Guest rathore
Posted (edited)

u can do it all without execparm by just using autoit! what does it take? just use inputbox and ask params and then launch the target by parsing the params!

(i've not used execparm but if this is all it does then its not needed)

Edited by rathore
Posted

ohohoh... yes. you are right! I dislike the {F2} read control text approch but still it is easy to do... I started using execparm so long ago that I am so tied to it that I forgot that you can actually make without it... Oh well..ò

Guest rathore
Posted

u don't need F2!! u can get file path in the first cmd line param. (while running with context menu)

Posted

Really?!? Do you mean that if I start a script from the context menu CmdLine[1] will be the full path?

Thats a great news! It opens new worlds! Thanks, Thanks!

Posted

It does...

In command key you have to set autoit.exe script.au3 "%1"

and it works :D

with this is a joke make a script to avoid the use of Execparm

Guest rathore
Posted

compile the script for even easier usage.

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