ezzetabi Posted April 14, 2004 Share Posted April 14, 2004 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.htmFreeware, 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 .regREGEDIT4 [HKEY_CLASSES_ROOT\AutoIt3Script\ShellEx\ContextMenuHandlers\ExecContextMenu] @="{B005017D-B7DD-11CF-BB51-0000B465A4FF}" Link to comment Share on other sites More sharing options...
Guest rathore Posted April 14, 2004 Share Posted April 14, 2004 i suppose that can easily be done through a script. Link to comment Share on other sites More sharing options...
ezzetabi Posted April 14, 2004 Author Share Posted April 14, 2004 A scrip that install ExecParm and set it to work also in Autoit? Seems a good idea. Link to comment Share on other sites More sharing options...
Guest rathore Posted April 14, 2004 Share Posted April 14, 2004 (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 April 14, 2004 by rathore Link to comment Share on other sites More sharing options...
ezzetabi Posted April 14, 2004 Author Share Posted April 14, 2004 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..ò Link to comment Share on other sites More sharing options...
Guest rathore Posted April 14, 2004 Share Posted April 14, 2004 u don't need F2!! u can get file path in the first cmd line param. (while running with context menu) Link to comment Share on other sites More sharing options...
ezzetabi Posted April 15, 2004 Author Share Posted April 15, 2004 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! Link to comment Share on other sites More sharing options...
Valik Posted April 15, 2004 Share Posted April 15, 2004 Are you talking about the path to the script? @ScriptDir already provides that information... Link to comment Share on other sites More sharing options...
ezzetabi Posted April 15, 2004 Author Share Posted April 15, 2004 We are speaking of a totally different thing, I am sorry. Link to comment Share on other sites More sharing options...
Guest rathore Posted April 15, 2004 Share Posted April 15, 2004 it works!...right? Link to comment Share on other sites More sharing options...
ezzetabi Posted April 15, 2004 Author Share Posted April 15, 2004 It does... In command key you have to set autoit.exe script.au3 "%1" and it works with this is a joke make a script to avoid the use of Execparm Link to comment Share on other sites More sharing options...
Guest rathore Posted April 15, 2004 Share Posted April 15, 2004 compile the script for even easier usage. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now