Search found 224 matches

by loicaigon
Thu Jul 25, 2019 7:50 pm
Forum: LEGACY scripting
Topic: setGlobalData issue
Replies: 6
Views: 3187

Re: setGlobalData issue

Hi Freddy, First of all, thanks a lot for the support and care. I was busy and couldn't come back sooner. I can't get it to work even by outsourcing the storage operations as you offered. I thought it was due to testing inside the scripter but even loading the script in switch doesn't help. I will t...
by loicaigon
Wed Jul 24, 2019 11:20 pm
Forum: LEGACY scripting
Topic: setGlobalData issue
Replies: 6
Views: 3187

setGlobalData issue

Hi, In a jobArrived function, I want to use if some data has already been stored through setGlobalData => s.setGlobalData("scope","key","value",true); if that value is empty when I read it thanks to s.getGlobalData("scope","key") then I am doing some API request to collect the value I am interested ...
by loicaigon
Wed Dec 05, 2018 10:15 am
Forum: PitStop Pro
Topic: Shifting close to trim content to specific x
Replies: 0
Views: 1678

Shifting close to trim content to specific x

Hi, So client wants to shift contents too close from trim (inside) to a security distance of 3mm. Identifying those close items is no big deal. On the contrary, positioning them to the specific x coordinate is a challenge. The position content script allows you to either set a fixed location (x,y) w...
by loicaigon
Tue May 22, 2018 8:39 am
Forum: PitStop Server
Topic: Insert image
Replies: 18
Views: 14032

Re: Insert image

Actually the craziest thing is that PitStop does allow PDF overlay but only in Pro version (unless I am wrong). So it's a total mistery this hasn't been push inside Server :\

Image
by loicaigon
Tue May 22, 2018 8:35 am
Forum: Preflighting
Topic: Not allowing unknown Spots, except some
Replies: 6
Views: 5761

Re: Not allowing unknown Spots, except some

Well beers certainly accepted !

Regarding to shading objects, I just needed to check what the object actually was using inspector. Once I could see it was shading objects it wasn't hard to exclude them from selection.
by loicaigon
Mon May 14, 2018 10:33 am
Forum: Preflighting
Topic: Not allowing unknown Spots, except some
Replies: 6
Views: 5761

Re: Not allowing unknown Spots, except some

Voilà…
by loicaigon
Fri May 11, 2018 1:32 pm
Forum: Preflighting
Topic: Not allowing unknown Spots, except some
Replies: 6
Views: 5761

Re: Not allowing unknown Spots, except some

Hi,

Here is a proposal that seems to do the job:

The idea is to use Regular Expression. The hard part is to "reverse" the expression so it looks at anything that do not match specific strings:
^((?!PANTONE|EyeCut).)*$
by loicaigon
Wed May 09, 2018 5:45 pm
Forum: Flows
Topic: XSLT problem
Replies: 5
Views: 3959

Re: XSLT problem

Hi @jan_suhr,

I think your xslt code would be perfectly fine in XSLT 1.0 unless I am wrong.

Best regards
by loicaigon
Mon May 07, 2018 4:33 pm
Forum: Flows
Topic: XSLT problem
Replies: 5
Views: 3959

Re: XSLT problem

My XSLT pleasure ;)
by loicaigon
Mon May 07, 2018 4:01 pm
Forum: Flows
Topic: XSLT problem
Replies: 5
Views: 3959

Re: XSLT problem

hello, This should work : <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="1.0"> <xsl:output method="xml" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> ...
by loicaigon
Tue May 01, 2018 7:20 pm
Forum: Flows
Topic: Flow to catch duplicate files
Replies: 5
Views: 4496

Re: Flow to catch duplicate files

I second Zoranj. You need to store passed jobs either as a database call maybe writing down some file locally or whatever suits you.
by loicaigon
Thu Apr 19, 2018 9:53 pm
Forum: Preflighting
Topic: Portrait or Landscape?
Replies: 3
Views: 3890

Re: Portrait or Landscape?

Not totally sure of you request but PitStop Profile Pages tab will let you check for different pages orientation in the doc and possibly fix the file so every pages share the same orientation.
Does that help ?
by loicaigon
Thu Mar 22, 2018 7:46 pm
Forum: Flows
Topic: Extracting metadata from an excel
Replies: 5
Views: 4531

Re: Extracting metadata from an excel

What is the XML structure exactly. What's best with XPath is not to use index but filters that will spot the interesting elements like:
//*[@id=123]
This would return any element WHERE id attribute equals 123 whatever its location inside the structure.
Could this be applied in your case ?
Loic
by loicaigon
Sun Mar 18, 2018 3:26 pm
Forum: Flows
Topic: Settings for Unique id?
Replies: 2
Views: 2666

Re: Settings for Unique id?

I got that recently and solution we used with client was to develop a script to send id to the end of the file Name prior to push it into XML Folder and later grab that file, reverse prefix once again and push it back into the flow.
FWIW
Loic