Skip to main content
Known Participant
November 23, 2005
Question

Error updating a progress palette window

  • November 23, 2005
  • 6 replies
  • 752 views
I am updating the progress palette window for each file executed using the fileIterator code that Bob was kind enough to provide. I am updating the status text with the name of each file. This works the first and second time, but on the third iteration I am getting the error:

Processed ( 0 😞 2005-01-12_0026nanaimo%20second%20growth.jpg
Processed ( 1 😞 20050104_0004.jpg
{LiveObject("StaticText").property(0x027f9a58)} is undefined

When I look at the statictext member it no longer has a text field in the data browser.

Has anyone encountered this type of error?
This topic has been closed for replies.

6 replies

Known Participant
November 28, 2005
Darn, I was kinda enjoying your one man thread....

Glad it's gone away.

Bob
hillrgAuthor
Known Participant
November 28, 2005
Hi Bob

I am not encountering the problem anymore. It went away when I did a clean reboot of my computer.

Rory
Known Participant
November 25, 2005
Rory,

I assume you're playing with the BridgeTalkIterator?

If so, when you add your message to the Iterator queue, the arguments are:

btIterator.addMessage( target, script, filename )

If you include the file name on the addMessage call, it will show the filename in the progress palette for you.

As for the amazing disappearing statictext element, I have no idea how that could be happening from the iterator itself.

Could you post the line(s) of code you are using to update the progress palette? It's possible you are overwriting a key property or method name of the statictext element.

Bob
Adobe Workflow Scripting
hillrgAuthor
Known Participant
November 24, 2005
Well, it worked for a while. I am still getting the

{LiveObject("StaticText").property(0x027f9a58)} is undefined

error.
hillrgAuthor
Known Participant
November 24, 2005
I'm a one man thread!

This works:

dittoStatus.setStatus1 = function( txt ) {
this.status1.active;
this.status1.text = txt;
}

The trick appears to be to make sure the control you are updating has the focus.

Rory
hillrgAuthor
Known Participant
November 23, 2005
I discovered a delay in the adobelibrary1 code, and tried injecting a delay as follows:

dittoStatus.setStatus1 = function( txt ) {
$.sleep( 1500 );
this.status1.text = txt;
}

This helps sometimes, other times the code still fails with the same error.