_compareImagesAndGenerateResultForAutomatedTesting()

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
peteoconnell
Posts: 19
Joined: November 14th, 2004, 2:10 pm

_compareImagesAndGenerateResultForAutomatedTesting()

Hi, all I can find out about this method is that it requires 5 parameters. Is there anywhere to get documentation on these obscure methods?
Pete
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

The only reference I've been able to find to this is in a pdf I got from here called "ObjectList01 - DOM object list.pdf", but it doesn't have any usage instructions. How did you discover this method?
User avatar
vfxman
Posts: 49
Joined: February 23rd, 2007, 7:00 pm
Location: California
Contact:

Not sure if you guys ever figured this one out, but here is some slightly more info...

-The function requires 5 total parameters
-The first three parameters must be a File or Folder object
-The last two parameters must be numbers

This would hard crash AE:

Code: Select all

alert(_compareImagesAndGenerateResultForAutomatedTesting(Folder("~/Desktop/folderA"),File("~/Desktop/picB.png"),File("~/Desktop/picC.jpg"),4,5));
This would at least return "undefined":

Code: Select all

alert(_compareImagesAndGenerateResultForAutomatedTesting(File("~/Desktop/picA.png"),File("~/Desktop/picB.png"),File("~/Desktop/picC.jpg"),1,1));

That's as far as I could get with it. Hope this sheds a little more light on it. :)
Post Reply