Jump to content
Sign in to follow this  

ControlSend Appskey in Hidden Window

Recommended Posts


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
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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this