fmen Posted June 25, 2009 Posted June 25, 2009 I am trying to automate a simple procedure in a hidden explorer window. Opt( "SendKeyDelay", '1' ) Opt( "WinTitleMatchMode", 2 ) Opt("GuiOnEventMode", 1) RunWait("C:\WINDOWS\explorer.exe /n, /e, D:\CME", "", @SW_HIDE); hides explorer ;RunWait("C:\WINDOWS\explorer.exe /n, /e, D:\CME", "", @SW_SHOW) ControlClick("CME", "", "SysListView321");Shifts focus to right side of Explorer ControlSend("CME", "", "SysListView321", "{home}");Highlights top directory...works Sleep(1000) ControlSend("CME", "", "SysListView321", "+{F10}"); Does not work ;ControlSend("CME", "", "SysListView321", "{APPSKEY}"); Does not work WinSetState("CME", "", @SW_SHOW) Would someone please try this code and tell me if ControlSending the appkey or the Shift-F10 combination works for them. You will need to change "D:\CME" to your own directory of choisce, however. Thank you.
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