Democratus
Joined: 01 Sep 2007 Posts: 120
|
Posted: Sat Feb 16, 2008 3:40 pm Post subject: |
|
|
ControlGet,Path,Line,1,Edit1,A
This command receives the path value in Edit1 of the currently-open window. I am not experienced with past operating system (I use Vista), so I'm not sure how backwards-compatible this is, but on Vista it works like a charm. If you want to make sure that it's an explorer window, just add ahk_class CabinetWClass after the "A".
After that point, simply set a loop to the pattern of %Path%\*.* and go from there. I haven't tested this, but I don't see why it wouldn't work. |
|