Biatu Posted November 17, 2015 Share Posted November 17, 2015 How would I be able to open a folder in the same explorer window without using send keys?When Clicking on a folder i would like to have a script run a few checks before entering the folder.Exmaple:starting in X:\Programsand when clicking on a program's folder, it reads a configuration from X:\Programs\<Program>\.Data\Program.inithen proceed to open the folder, and if the ini does not exist, then the folder is treated as normal.I cannot use send keys because i will be replacing HCR\Folder\Shell\Explorer command to execute the script instead. Which would end up in an endless loop.The specific application for this script is for my InfinityPE (Custom WinPE) What is what? What is what. Link to comment Share on other sites More sharing options...
LarsJ Posted November 17, 2015 Share Posted November 17, 2015 Take a look at Automating Windows Explorer. Especially examples in post 7. I think you can use example 2. Biatu 1 Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
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