Hi again,
I try to execute command with Enfocus but it doesn't work.....
Working on Windows 10 Pro platform
This work fine when I run the .bat file :
Extract the clipping path from image :
C:\Program Files\ImageMagick\magick.exe identify -quiet -format "%[8BIM:1999,2998:#1]" C:\Users\Administrateur\Documents\in.png >C:\Users\Administrateur\Documents\out.svg
So know, would like to use it with hotfolder. Because of the format of expression, I use .bat file to prevent issue with the quotes and % [ ,
1- Save the .bat file in C:\Users\Administrateur\Documents\export_path.bat
2- Made a Flow with execute command > Choose file : C:\Users\Administrateur\Documents\export_path.bat
3- Define single line text with variables : "%1" "%2"
4- Output : file at path : .svg
4- Modify the .bat file in order to specify the input and output filepath :
C:\Program Files\ImageMagick\magick.exe identify -quiet -format "%[8BIM:1999,2998:#1]" '$1'>'$2'
5- Active flow, and it's gone wrong, nothing in output folder
5- Try to change '$1'>'$2' with double quote, ($1) , [1]..... damned, it doens't work....
Reading this : https://www.enfocus.com/en/support/know ... 000jfc9IAA
but doesn't solve issue....
Thx in avance,
Christian
Issue with execute command bat file
Re: Issue with execute command bat file
Found solution with Enfocus Support, thx to Jan
but have a little question :
- could I use variables Job.Name etc.... in a .bat file ?
Thx,
Christian
but have a little question :
- could I use variables Job.Name etc.... in a .bat file ?
Thx,
Christian
Re: Issue with execute command bat file
If you use my App, Execute command friend you can do that
https://www.enfocus.com/en/appstore/pro ... and-friend
Re: Issue with execute command bat file
Excellent, it's works, thanks Jan, very useful this App !