Skip to main content
Known Participant
October 1, 2005
Question

Buglet in Image Processor.jsx

  • October 1, 2005
  • 3 replies
  • 903 views
I'm not sure how to report this, but there's a bug in the Image Processor script that was driving me nuts so I figured out how to patch it. This may be a Windows-only bug (I'm not sure).

The problem is that the when you bring up either of the directory pickers for changing the directories in the Image Processor dialog, they both default to the Windows desktop rather than the path that the dialog shows. Since the Windows desktop is a long ways away from where I keep my images, tihs is a lot of mouse clicks to set this directory everytime I want to use it. There is an attempt to pass the directory picker a starting directory, but that code is just wrong. This occurs in two places in the Image Processor. To fix it, I replace this line:

var selFolder = Folder.selectDialog( strPickDest, this.parent.parent.destLongText );

with this line:
var selFolder = Folder.selectDialog( strPickDest, d.destLongText);

and now the directory picker starts out where it's supposed to and it's a lot quicker to set it to what I want.

If this has been bugging you, you can patch your own Image Processor.jsx file. Just find the two lines that look like the first line and replace them with the second line.

And Robert, do you have any idea how to get the real one fixed at Adobe?

I wonder if this actually works on the Mac. On windows, it takes a chain of 5 parents up (this.parent.parent.parent.parent.parent.destLongText) to make the original way work, but I could imagine that this would be difference on Windows/Mac. Since the real parent has already been resolved with FindWindow right in this same function, I found a safer way to accomplish the goal.

--John
This topic has been closed for replies.

3 replies

Participant
February 8, 2006
>>>I'm not sure how to report this, but there's a bug in the Image Processor script that was driving me nuts so I figured out how to patch it. This may be a Windows-only bug (I'm not sure).

var selFolder = Folder.selectDialog( strPickDest, this.parent.parent.destLongText );

with this line:
var selFolder = Folder.selectDialog( strPickDest, d.destLongText); <<<<br />
John I did your bugfix, but it did not work in my CS2. I'm still taken to the Desktop. Have you done any further work on this "bug"?

Thanks,

Dennis Jacobsen
Known Participant
October 2, 2005
Bug filed.
October 1, 2005
>I'm not sure how to report this, but there's a bug in the Image Processor script that was driving me nuts so I figured out how to patch it.

http://www.adobe.com/misc/bugreport.html

Reporting it there is always a good idea.

John