Wish list

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

Re: Wish list

Post by MikeGale » Thu Mar 13, 2014 5:50 pm

I'm happy with what it does at present.

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

Re: Wish list

Post by Albert Wiersch » Thu Mar 13, 2014 7:31 pm

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

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 » Wed Mar 19, 2014 1:58 am

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 » Wed Mar 19, 2014 4:43 am

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: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch » Wed Mar 19, 2014 8:00 am

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.
Image
Albert Wiersch

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 » Wed Mar 19, 2014 5:22 pm

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: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch » Wed Mar 19, 2014 5:43 pm

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);
  }
 }
}
Image
Albert Wiersch

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 » Thu Apr 03, 2014 4:34 pm

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: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Wish list

Post by Albert Wiersch » Thu Apr 03, 2014 4:46 pm

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.
Image
Albert Wiersch

Post Reply