Search found 33 matches

by tdeschampsBluewest
Fri Jan 12, 2024 7:57 am
Forum: Node.js scripting
Topic: NPM package for generating XML
Replies: 3
Views: 44147

Re: NPM package for generating XML

laurentd wrote: Thu Jan 11, 2024 10:55 am
Here we use this one, and it work like a charm!
by tdeschampsBluewest
Thu Jan 04, 2024 8:23 am
Forum: LEGACY scripting
Topic: calculate all pagesizes in one job
Replies: 2
Views: 7289

Re: calculate all pagesizes in one job

Hi, Is there a reason behind the legacy usage? Dismantler The documentation of scripting 2023 fall give a pretty nice example to loop trough PDF pages : https://www.enfocus.com/manuals/DeveloperGuide/SW/23.1/home.html#en-us/common/swscr/reference/re_swscr_pdfpage_methods.html It will look like somet...
by tdeschampsBluewest
Thu Dec 14, 2023 6:59 pm
Forum: Appstore
Topic: Error message: Unarchiving of the job to the temporary folder was unsuccessful.`
Replies: 1
Views: 12539

Re: Error message: Unarchiving of the job to the temporary folder was unsuccessful.`

Hi, The Portal App is no longer maintained and utilizes outdated technology, which may result in files becoming "stuck" in the system, thereby blocking the entire channel. To resolve this issue, you must manually clean up a specific folder to restore the app's functionality. Navigate to a ...
by tdeschampsBluewest
Fri Jul 21, 2023 3:55 pm
Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
Topic: Bot spamming suspicious link
Replies: 0
Views: 52584

Bot spamming suspicious link

Since few weeks, i noticed that an account respond to threads with very suspicious message. They seems to be generated proceduraly or with an IA, and always include a link (which you should not click...) Some example : https://forum.enfocus.com/search.php?author_id=4076&sr=posts Could moderator ...
by tdeschampsBluewest
Tue Jul 11, 2023 2:05 pm
Forum: FastLane
Topic: have you already experienced the FastLane for preflighting files?
Replies: 1
Views: 12027

Re: have you already experienced the FastLane for preflighting files?

Hi Loïc, Fast lane will be a real game changer when we need to process loads of PDF, or file that can create some troubles for PitStop Server (high number of nodes for example) The app itself is pretty straightforwards. One small note, the link to fastlane documentation is not working on the App PDF...
by tdeschampsBluewest
Tue Jul 11, 2023 1:52 pm
Forum: Switch
Topic: How to get file from root folder
Replies: 5
Views: 8023

Re: How to get file from root folder

Hi, as Laurent said, inject Wildcard have every tool you need for this purpose (and several option to achieve it) Maybe you could try something like this : job repository : //nordsign.local/dfs/Orders/Print Republic/ Inject : File only Injected jobs name filter : *.pdf (or something from your xml) H...
by tdeschampsBluewest
Thu Jul 06, 2023 11:41 am
Forum: Flows
Topic: Building an archive structure by file names
Replies: 3
Views: 9189

Re: Building an archive structure by file names

Hi, Effectively, for file under the range index number of digits (4) and above 9, some problem can happen. For example with 00000999 : the regex part will give 00000 the calculation part will give 0, and that's not the wanted number of digits. Another solution, if you have the last version of switch...
by tdeschampsBluewest
Sun Jul 02, 2023 8:51 pm
Forum: Flows
Topic: Building an archive structure by file names
Replies: 3
Views: 9189

Re: Building an archive structure by file names

Hi Peter, Just put the following variables in a "Set hiearchy path" and here you are : [Job.NameProper:Search="^[0]+"][Switch.Calculation:Expression="round(([job.NameProper]/2000)-0.5)*2000"]-[Job.NameProper:Search="^[0]+"][Switch.Calculation:Expression="...
by tdeschampsBluewest
Tue Jun 27, 2023 10:56 pm
Forum: Switch
Topic: Printing spreadsheet (Excel), Powerpoint and other files
Replies: 4
Views: 7668

Re: Printing spreadsheet (Excel), Powerpoint and other files

Here we use Sumatra PDF :
https://www.sumatrapdfreader.org/docs/C ... -arguments

-print-to-default -print-settings fit "%1"
by tdeschampsBluewest
Fri Jun 23, 2023 4:22 pm
Forum: Node.js scripting
Topic: Remove part of private data
Replies: 2
Views: 8198

Re: Remove part of private data

Hi Arsen, Hope you are well ? Your code work great, but it will return an array with the ".toString()" which is not the same format as the one prompted in the first place. Since i think you want a concatenate string as the one in the private data, you need to use "join(" ;")...
by tdeschampsBluewest
Wed Jun 21, 2023 2:32 pm
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 15145

Re: Database Values as NodeJS Parameters

From what you describe, it's look like the "await" does not really await for the result. Could you try something like this? (I know, it's not perfect, but it should work) function sleep(ms: number) { return new Promise((resolve) => setTimeout(resolve, ms)); } let tempKey:null|string = null...
by tdeschampsBluewest
Sun Jun 18, 2023 8:32 pm
Forum: Flows
Topic: Math Expressions With Metadata
Replies: 2
Views: 5675

Re: Math Expressions With Metadata

[Switch.Calculation:Expression="((1-(["Metadata.TextIndexed:Path="/field-list/field[tag='Quantity Good']/value",Dataset="Submit",Model="XML"]/["Metadata.TextIndexed:Path="/field-list/field[tag='Quantity Ordered']/value",Dataset="Submit&quo...
by tdeschampsBluewest
Thu Jun 15, 2023 3:36 pm
Forum: Flows
Topic: Submit point - Autocomplete a metadata field?
Replies: 7
Views: 7556

Re: Submit point - Autocomplete a metadata field?

Hi Magnus, It depend if it's on a checkpoint or a submit point (this one is trickier In any case, after the addition of the new value, you should find a way to store it in an array (adding at the end of an XML, in a CSV file, a database, a global data...) Before passing trough the checkpoint, you ne...
by tdeschampsBluewest
Thu Jun 15, 2023 3:27 pm
Forum: Appstore
Topic: epubCheck
Replies: 0
Views: 45180

epubCheck

Hi Everyone, I'm actually giving a training course about automation (and obviously Enfocus Switch) for a French school, i had a challenge thrown by the student yesterday : Can we automate the check of Epub in Switch? So i wrote a wrapper for the EpubCheck (a java app that allow to parse epub) this m...
by tdeschampsBluewest
Tue Jun 13, 2023 9:39 pm
Forum: Flows
Topic: OpenAI
Replies: 14
Views: 164661

Re: OpenAI

What about 'Generative AI connector' or 'OpenAI connect'? We do not have the right to use "OpenAI" under any form :/ II asked the the app itself and here here is some interesting result (classed based on my preferences ) : AI Assist AI Companion AI Insight Generative AI AI Whisper AI Geni...