JohnnyMcDollar Posted September 17, 2024 Posted September 17, 2024 I use MS Photos as the default program to manually open all my jpg's. Is it possible to have Autoit run this program with a given jpg parameter when I click on the given object in a DrawIO diagram?
JohnnyMcDollar Posted September 17, 2024 Author Posted September 17, 2024 ... To clarify/simplify, I just need to know how Autoit can run the program with a jpg parameter. I already know how to use DrawIO to open programs (like http) so yeah, I just need to know if Autoit can open MS Photos with a given jpg.
Solution Andreik Posted September 17, 2024 Solution Posted September 17, 2024 (edited) ShellExecute('ms-photos:viewer?fileName={Your image path here}') or if your default app for certain file extension is already MS Photos you can simply use ShellExecute('{Your image path here}') PS: brackets above mark a placeholder, you don't need them Edited September 17, 2024 by Andreik JohnnyMcDollar 1
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