Re: Check if paperfolder active
Posted: 20 Jul 2015 21:08
Yes, the path is correct. Irrespective of runret (@Ken, I use runret to NOT see the black DOX box) - this here works:SammaySarkar wrote:The problem is probably that the program wasn't found. Do you have <xypath>\..\XnUtilities\NConvert\nconvert.exe?
Code: Select all
run "cmd /c <xypath>\..\XnUtilities\NConvert\nconvert.exe -o ""U:\Outbox\$NameNew#.jpg"" -ratio -resize 1920 0 ""$item""";
Code: Select all
run """cmd /c <xypath>\..\XnUtilities\NConvert\nconvert.exe"" -o ""U:\Outbox\$NameNew#.jpg"" -ratio -resize 1920 0 ""$item""";The problem is NOT that I can't get things to work in XY - it always gets figured out thanks to you guys, sooner or later - and this is OK for private use and my learning curve. But tied up in a client's environment, I cannot afford to worry so much about the tool itself. I need an EASY way to do things. I hate those embarrassing moments that make me - the consultant - look incompetent, unable to even handle his own tools.
I've given up on renames because of RegEx - I pass it along to other managers. Same with archives, same with previews, same for the heavy lifting in networks, but since XY is my main launchbar, my switchboard, I'd love to be able to set up external calls ad hoc, whenever the need arises. On the first go-around, not the third, with as little aggravation as possible.
3 double quotes at the beginning when I need command line parameters - that's good, I like guidelines like that. And it works. Mostly. And then again it doesn't.
@Ken,
thanks for the alternative declaring a variable instead. From what I see you're not following the rule of 3-dbl-quotes up front. So in essence you're using the same syntax I had arrived at (by NOT following the guidelines here:
http://www.xyplorer.com/xyfc/viewtopic. ... 846#p40846
Anyway, the quoting and syntax confusion remains the same, it just gets shifted into the variable part.