Draygoes Posted July 3, 2022 Posted July 3, 2022 I know that Windows explorer will do it for me in Windows 10/11, but how do I trigger explorer to mount and unmount the iso from Autoit? Thanks for your time. :) Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
Solution Subz Posted July 3, 2022 Solution Posted July 3, 2022 You can use PowerShell commands: Mount-DiskImage (Storage) | Microsoft Docs Dismount-DiskImage (Storage) | Microsoft Docs mLipok 1
Draygoes Posted July 3, 2022 Author Posted July 3, 2022 1 hour ago, Subz said: You can use PowerShell commands: Mount-DiskImage (Storage) | Microsoft Docs Dismount-DiskImage (Storage) | Microsoft Docs Oh cool! I wouldn't have guessed that. Powershell is a bit more powerful than I thought. Can we execute ps commands in Autoit by any chance? Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
LarsJ Posted July 3, 2022 Posted July 3, 2022 You can execute PowerShell commands/scripts in AutoIt as demonstrated through the techniques from this post to this post. Simple example in this post. 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
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