insury Posted October 5, 2007 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}")
Nahuel Posted October 5, 2007 Posted October 5, 2007 I could never get this to work, but who knows DirCreate("TestFolder") ShellExecute("TestFolder","","","Properties")
Siao Posted October 5, 2007 Posted October 5, 2007 $path = @ScriptDir ShellExecute("explorer.exe", "/n,/select," & $path) WinWaitActive("[CLASS:CabinetWClass]") Send("{APPSKEY}") "be smart, drink your wine"
Nahuel Posted October 5, 2007 Posted October 5, 2007 $path = @ScriptDir ShellExecute("explorer.exe", "/n,/select," & $path) WinWaitActive("[CLASS:CabinetWClass]") Send("{APPSKEY}") sweet!
insury Posted October 5, 2007 Author 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!
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