Wish list

For topics about current BETA or future releases, including feature requests.
User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
Posts: 709
Joined: Mon Dec 13, 2004 1:50 pm
Location: Tannhauser Gate

Re: Wish list

Post by MikeGale »

I'm happy with what it does at present.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3473
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch »

MikeGale wrote:I'm happy with what it does at present.
OK, good. I thought that was it but I wanted to confirm. :D

User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

Re: Wish list

Post by roedygr »

Albert Wiersch wrote:

Code: Select all

function onTargetProcessed() [/code>[/quote]

Works great! thanks.

User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

Re: Wish list

Post by roedygr »

Albert Wiersch wrote:

Code: Select all

function onTargetProcessed() [/code[/quote]

This works most of the time. But sometime is gets into a snit and does not load any of the error files.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3473
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch »

roedygr wrote:This works most of the time. But sometime is gets into a snit and does not load any of the error files.
Can you provide more details? Do you get any error messages? Are there any screenshots that would show the problem?

Note that if the files are already loaded, then it may seem like it's not working because the editor won't open the files if they're already opened. Also note that it only opens up to 50 files. This can be changed in the code, but opening too many files could potentially be problematic.

User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

Re: Wish list

Post by roedygr »

Albert Wiersch wrote:

Code: Select all

function onTargetProcessed() 
It would be nice to also have a variant of this code to treat warnings as errors.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3473
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch »

roedygr wrote:It would be nice to also have a variant of this code to treat warnings as errors.
Hello,

Please try this:

Code: Select all

function onTargetProcessed() {
 if (getValueInt(1)>0) // if # of errors > 0
    || (getValueInt(2)>0) // or # of warnings > 0
 {
  if ($_JOB.openineditor.arrayLength()<50) {
   $_JOB.openineditor[]=getValueString(5);
  }
 }
}

User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 370
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

Re: Wish list

Post by roedygr »

The new feature to load up documents with errors only works about 1/5 the time. Otherwise it loads nothing. I have not seen a pattern when it fails other than perhaps long running validates.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3473
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch »

Hello,

Sorry, I don't know why it would only work 1/5 of the time. I'd need more information in order to diagnose.

Could you be processing more than one target list? If so, then you'll need to set the 'User functions file' for each target list file that you want to use your TNPL function. Perhaps this was only done for some of your target lists but not all?

Also, in the Batch Wizard Options, please go to the 'When Running' page and check (enable) the 'Display verbose messages...' option. When the Batch Wizard tries to open files, it should then display messages like this in the Progress tab:

Code: Select all

Opening in editor (#1 of 10): "<filename>"
Opening in editor (#2 of 10): "<filename>"
Opening in editor (#3 of 10): "<filename>"
...
Please let me know whether or not you see those progress messages.

Post Reply