sumone4life Posted March 10, 2009 Share Posted March 10, 2009 Is there a way to create a sort of hotScript where i can drap and drop x number of files onto the exe and it will run a set of commands on that list of files? Link to comment Share on other sites More sharing options...
jvanegmond Posted March 10, 2009 Share Posted March 10, 2009 If you drop files on an executable they are readable from the $CmdLine variable. For more information search the AutoIt help file for command line. github.com/jvanegmond Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 10, 2009 Share Posted March 10, 2009 (edited) Is there a way to create a sort of hotScript where i can drap and drop x number of files onto the exe and it will run a set of commands on that list of files? Like Manadar said, but with a demo: #include <Array.au3> _ArrayDisplay($CmdLine, "$CmdLine") MsgBox(64, "$CmdLineRaw", $CmdLineRaw) Compile that to an .exe, then drag-n-drop file(s) on it in explorer. Not much to it, huh? P.S. Manadar would have included his own great demo, but he's having issues with his hosting service right now. Evidently their tubes are clogged! Edit: Added Manadar's fancy demo of $CmdLineRaw. Edited March 10, 2009 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 More sharing options...
jvanegmond Posted March 10, 2009 Share Posted March 10, 2009 Yes, tubes clogged. Can't do much about it. Someone was transfering pictures of an elephant. You can't fit an elephant through tiny wires like that. I have a little example too MsgBox(0, "", $CmdLineRaw) github.com/jvanegmond Link to comment Share on other sites More sharing options...
sumone4life Posted March 11, 2009 Author Share Posted March 11, 2009 Thanks a lot thats perfect. 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