(06-09-2023, 08:10 AM)Ofnuts Wrote:(06-09-2023, 04:53 AM)y2keeth Wrote:(06-08-2023, 08:29 AM)Ofnuts Wrote: This line isn't meant for the Python console. It is used to invoke Gimp from a command prompt (CMD.EXE, DOS shell, "black screen", etc...)
Running everything in the Python console is possible too. Copy-paste the definition of the run() and process() methods in the Python console, and then call run('/path/to/directory') in that same Python console.
how do i access the command prompt?
Several ways. But frankly, if you have to ask this... it's a bit as if you asked for instructions to fix your car transmission, and you don't know how to open the hood...
sorry i thought the python console was the command prompt, so i dont know how to open the hood lol. still new to gimp coming from photoshop
found it nevermind
now i get this error
PS C:\Users\bheadr> gimp -idf --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import batch;batch.run('e:/test')" -b "pdb.gimp_quit(1)"
gimp : The term 'gimp' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ gimp -idf --batch-interpreter python-fu-eval -b "import sys;sys.path= ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (gimp:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException