Elimental
-
Posts
6 -
Joined
-
Last visited
Posts posted by Elimental
-
-
19 hours ago, BoltBait said:
Shouldn't this be:
start paintdotnet:"%1 %2 %3 %4 %5 %6 %7 %8 %9"
You never use %1 %2 %3 ..... If you want to use all as one variable
If you wanna do a catch all as one you should use %*
But as mentioned, my problem is not passing it to paintdotnet, its that paintdotnet is not accepting spaces in command line. Already written a proper batch file that works with other applications, will post a full howto here once the command line section for paintdotnet works.
-
Thanx did not know about the "start" part. Batch option now works till image have spaces in the name.
Even when using command line gives an error. Copied a jpg file and renamed it with a space in the name then ran:
start paintdotnet:"D:\Utils\test name.jpg"
Paint.net starts but prompts image type not recognized
See Screenshot of error: https://imgur.com/a/R57CRsa
-
On 8/10/2018 at 12:18 AM, Bruce Bowyer-Smyth said:
@Rick Brewster Do desktop apps support the execution alias? https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap5-executionalias
I need this as Faststone need a bat or exe file.
Current method only works when you click Start -> Run and not as a command line option
If I was able to use the command from a command line I could then create a getpain.bat file that contains:
paintdotnet %1
I could then call the .bat file with Faststone and the Path_to_image.jpg would be passed on as %1
Maybe this could be of more help on how to call Paint.net with params from another program like say Faststone
For now I guess I will have to go back to free version.
-
Missed that thread thanx will continue in there.
-
I don't know if this is possible as my Google-fu is letting me down.
Long time user of Paint.net but decided to "donate" to the project via Windows Store only to find that I can not "call" paint.net via FastStone or other Win32 applications for that matter. Only way I found how this can be done is to create a bat file that use the command line alias of a UWP application example found here
Here is the question does such an option exist or is there another way of doing this that I do not know about?
paid AppStore Version can't be opened from another App
in Troubleshooting & Bug Reports
Posted
Can confirm, fixed thanx a mil.
Also as promised:
If people need programs like FastStone to work, just create a batch file in my example I'll call it paintdotnet.bat with the following:
@echo off start paintdotnet:%*
Now you can simply point to that bat file as your executable in FastStone. The %* is a catch all and works with single or multiple files, both with or without spaces in the names.