JohnnyMcDollar Posted September 17 Share Posted September 17 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? Link to comment Share on other sites More sharing options...
JohnnyMcDollar Posted September 17 Author Share Posted September 17 ... 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. Link to comment Share on other sites More sharing options...
Solution Andreik Posted September 17 Solution Share Posted September 17 (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 by Andreik JohnnyMcDollar 1 When the words fail... music speaks. 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