Thread View: adobe.imageready.windows
5 messages
5 total messages
Started by joled
Mon, 14 May 2007 15:01
running droplet from cygwin shell-file not found
Author: joled
Date: Mon, 14 May 2007 15:01
Date: Mon, 14 May 2007 15:01
27 lines
2202 bytes
2202 bytes
Hello, In ImageReady I created a droplet to add a watermark to a bunch of jpg images. I now want to run the droplet from a cygwin shell so I can create a script to add the watermark to hundreds of jpegs. The watermark.exe is in my cygwin bin directory which in windows equates to c:/Documents and Settings/me/bin. The image I am testing is in a directory called joetest named foo.jpg. So when I try to run the watermark.exe like this $cd c:/Documents and Settings/me $bin/watermark.exe joetest/foo.jpg I get an ImageReady error "Could not play back the batch. The file was not found. (c:\Documents and Settings\me\joetest\foo.jpg." The file does exist in the folder it thinks it should be in. If from Windows Explorer I drag foo.jpg unto watermark.exe it works fine. Does anyone have any ideas how to resolve this or what might be causing this error whenI try to run the droplet from a cygwin shell? Any ideas are appreciated. Thanks in advance. Joe
Re: running droplet from cygwin shell-file not found
Author: Mike Russell
Date: Mon, 14 May 2007 20:00
Date: Mon, 14 May 2007 20:00
37 lines
2909 bytes
2909 bytes
<joled@rcn.com> wrote in message news:1179154870.891548.49560@y80g2000hsf.googlegroups.com... > Hello, > In ImageReady I created a droplet to add a watermark to a bunch of jpg > images. I > now want to run the droplet from a cygwin shell so I can create a > script to add the > watermark to hundreds of jpegs. The watermark.exe is in my cygwin bin > directory which > in windows equates to c:/Documents and Settings/me/bin. The image I am > testing > is in a directory called joetest named foo.jpg. So when I try to run > the watermark.exe like > this > > $cd c:/Documents and Settings/me > $bin/watermark.exe joetest/foo.jpg > > I get an ImageReady error "Could not play back the batch. The file was > not found. (c:\Documents and Settings\me\joetest\foo.jpg." > > The file does exist in the folder it thinks it should be in. > If from Windows Explorer I drag foo.jpg unto watermark.exe it works > fine. Does anyone > have any ideas how to resolve this or what might be causing this error > whenI try to > run the droplet from a cygwin shell? Any ideas are appreciated. Hi Joe, Embedded spaces give cygwin a stomach ache. I'd recommend moving the images to a folder with no spaces in the name. If your images are hard to move, change your script to have quotes around the filename. -- Mike Russell www.curvemeister.com/forum/
Re: running droplet from cygwin shell-file not found
Author: joled
Date: Tue, 15 May 2007 12:43
Date: Tue, 15 May 2007 12:43
27 lines
2373 bytes
2373 bytes
Hi Mike, I am quoting the path so that doesn't appear to be the problem. It looks like, by default, ImageReady looks in c:/Desktop and Settings/me for the input file. it prepends c:/d & s/me to the beginning of the path of the input file. I was expecting it to use the full path if I gave it the full path but it still prepends c:/d&s/ me. I have gotten around it by making sure I copy the files to a folder under c:/d&s/me. Now I wonder if there is a way to tell when the completion of the droplet has been reached. cygwin appears to background the process but will not let me "wait" for it to proceed with the execution of the script. Thanks. Joe > > Hi Joe, > > Embedded spaces give cygwin a stomach ache. I'd recommend moving the images > to a folder with no spaces in the name. If your images are hard to move, > change your script to have quotes around the filename. > -- > > Mike Russellwww.curvemeister.com/forum/
Re: running droplet from cygwin shell-file not found
Author: Mike Russell
Date: Tue, 15 May 2007 17:28
Date: Tue, 15 May 2007 17:28
28 lines
2772 bytes
2772 bytes
<joled@rcn.com> wrote in message news:1179233024.179936.116800@e65g2000hsc.googlegroups.com... > Hi Mike, > I am quoting the path so that doesn't appear to be the problem. It looks > like, by default, ImageReady looks inc:/Desktop and Settings/me for the > input file. it prepends c:/d & s/me to the beginning of the path of the > input file. I was expecting it to use the full path if I gave it the full > path but it still prepends c:/d&s/ me. < That's a very reasonable expectation, and a rather dreadful command line interface on ImageReady's part. > I have gotten around it by making sure I copy the files to a folder under > c:/d&s/me. Glad you found something that works. > Now I wonder if there is a way to tell when the completion of the droplet > has been reached. cygwin appears to background the process but will not > let me "wait" for it to proceed with the execution of the script. My Unix is a bit rusty, not to mention my cygwin. If you can get hold of the pid of the droplet, perhaps with a combination of ps and awk, you can use wait(1) to hang until it finishes. -- Mike Russell www.curvemeister.com/forum/
Re: running droplet from cygwin shell-file not found
Author: joled
Date: Tue, 15 May 2007 18:43
Date: Tue, 15 May 2007 18:43
38 lines
3072 bytes
3072 bytes
On May 15, 1:28 pm, "Mike Russell" <RE-MOVEm...@Curvemeister.comRE- MOVE> wrote: > <j...@rcn.com> wrote in message > > news:1179233024.179936.116800@e65g2000hsc.googlegroups.com... > > > Hi Mike, > > I am quoting the path so that doesn't appear to be the problem. It looks > > like, by default, ImageReady looks inc:/Desktop and Settings/me for the > > input file. it prepends c:/d & s/me to the beginning of the path of the > > input file. I was expecting it to use the full path if I gave it the full > > path but it still prepends c:/d&s/ me. < > > That's a very reasonable expectation, and a rather dreadful command line > interface on ImageReady's part. > > > I have gotten around it by making sure I copy the files to a folder under > > c:/d&s/me. > > Glad you found something that works. > > > Now I wonder if there is a way to tell when the completion of the droplet > > has been reached. cygwin appears to background the process but will not > > let me "wait" for it to proceed with the execution of the script. > > My Unix is a bit rusty, not to mention my cygwin. If you can get hold of > the pid of the droplet, perhaps with a combination of ps and awk, you can > use wait(1) to hang until it finishes. > -- > > Mike Russellwww.curvemeister.com/forum/ My saga continues. I restarted my computer. Now when I run the droplet the input path it defaults to looking in is c:\windows\system32\me not c:\docs&settings\me. I'm not sure how to get it to look in c:\docs&settings\me again. Very anoying. Joe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads