insury 0 Posted October 5, 2007 How do I write an AutoIt script to select a folder (in this case, C:\TestFolderr) and right-click on it. I tried the following but it doesn't work. Thanks a lot for your help! DirCreate("C:\TestFolder") $search = FileFindFirstFile("TestFolder") $file1 = FileFindNextFile($search) Send("+{F10}") Share this post Link to post Share on other sites
Nahuel 1 Posted October 5, 2007 I could never get this to work, but who knows DirCreate("TestFolder") ShellExecute("TestFolder","","","Properties") Share this post Link to post Share on other sites
Siao 6 Posted October 5, 2007 $path = @ScriptDir ShellExecute("explorer.exe", "/n,/select," & $path) WinWaitActive("[CLASS:CabinetWClass]") Send("{APPSKEY}") "be smart, drink your wine" Share this post Link to post Share on other sites
Nahuel 1 Posted October 5, 2007 $path = @ScriptDir ShellExecute("explorer.exe", "/n,/select," & $path) WinWaitActive("[CLASS:CabinetWClass]") Send("{APPSKEY}") sweet! Share this post Link to post Share on other sites
insury 0 Posted October 5, 2007 $path = @ScriptDir ShellExecute("explorer.exe", "/n,/select," & $path) WinWaitActive("[CLASS:CabinetWClass]") Send("{APPSKEY}") Thanks Siao & Nahuel! I really appreciate your help! Share this post Link to post Share on other sites