locked
Open image on Paint 3D Appx thru command line RRS feed

  • Question

  • Hi,

    I am working on program that would open Paint 3D with a specific image as background.

    System.Diagnostics.Process paintProcess = new System.Diagnostics.Process();
    paintProcess.StartInfo.FileName = "Shell:AppsFolder\\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint";
    paintProcess.StartInfo.Arguments = imgFiltePath + "\\background.bmp";

    It will open the app without the background. If I change from "Shell:AppsFolder\\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint" to "System.IO.Path.Combine(Environment.SystemDirectory, "mspaint.exe")", it will work on regular mspaint with the background.bmp for me to edit.

    Any help would be appreciated!

    Thanks
    Tako
    Friday, June 15, 2018 12:19 PM

Answers

  • This is the forth place I have been redirected to. Actually, if I know how to do it on powershell, I will solve my problem. So, would you please tell is it possible to open an image on Paint 3D through command line?

    Best

    Tako

    That is still not a scripting question.  For how to use Windows Apps post in the Windows 10 forum.  Generally speaking Store apps have no command line.


    \_(ツ)_/

    • Marked as answer by ETako Monday, June 18, 2018 3:26 PM
    Monday, June 18, 2018 1:26 PM

All replies

  • This is a scripting forum.  Post C# questions in the C# developers forum.


    \_(ツ)_/

    Friday, June 15, 2018 1:12 PM
  • This is the forth place I have been redirected to. Actually, if I know how to do it on powershell, I will solve my problem. So, would you please tell is it possible to open an image on Paint 3D through command line?

    Best

    Tako

    Monday, June 18, 2018 1:05 PM
  • This is the forth place I have been redirected to. Actually, if I know how to do it on powershell, I will solve my problem. So, would you please tell is it possible to open an image on Paint 3D through command line?

    Best

    Tako

    That is still not a scripting question.  For how to use Windows Apps post in the Windows 10 forum.  Generally speaking Store apps have no command line.


    \_(ツ)_/

    • Marked as answer by ETako Monday, June 18, 2018 3:26 PM
    Monday, June 18, 2018 1:26 PM
  • Thank you
    Monday, June 18, 2018 3:27 PM