Search found 293 matches

by JimmyHartington
Tue Apr 23, 2024 3:36 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 9
Views: 86

Re: JSON - list of files [SOLVED]

Ok.

And how do you process the XML with the XLST using Saxon?
by JimmyHartington
Tue Apr 23, 2024 1:17 pm
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 9
Views: 86

Re: JSON - list of files [SOLVED]

As always there are many ways to achieve the same result :D

Would you mind sharing how you split the XML with Saxon?
by JimmyHartington
Tue Apr 23, 2024 11:26 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 9
Views: 86

Re: JSON - list of files

And here is the info when one of the output files has been processed with the JSON Pickup.

Image
by JimmyHartington
Tue Apr 23, 2024 10:40 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 9
Views: 86

Re: JSON - list of files

And here is a .cmd script for Windows. The one argument for the script should be the input json-file. @echo off for /f %%i in ('C:\ProgramData\chocolatey\lib\jq\tools\jq.exe -c ".ls[]" %1') do ( for /f "delims=" %%f in ('echo %%i ^| C:\ProgramData\chocolatey\lib\jq\tools\jq.exe -...
by JimmyHartington
Tue Apr 23, 2024 10:35 am
Forum: Flows
Topic: JSON - list of files [SOLVED]
Replies: 9
Views: 86

Re: JSON - list of files

I do not know which platform you are on. But using the jq command line tool it is possible to manipulate JSON. I use chocolatey on Windows and Homebrew on macOS to install it. With the help of ChatGPT I was able to create this bash script which works on macOS. jq -c '.ls[]' $1 | while read i; do nam...
by JimmyHartington
Fri Apr 19, 2024 10:37 am
Forum: PitStop Pro
Topic: Select variable range of pages
Replies: 7
Views: 157

Re: Select variable range of pages

loicaigon wrote: Fri Apr 19, 2024 10:23 am I think you need to AND all pages and NOT pages with page label
It works with just the NOT.
Maybe because both actions are selecting pages?
by JimmyHartington
Fri Apr 19, 2024 9:56 am
Forum: PitStop Pro
Topic: Select variable range of pages
Replies: 7
Views: 157

Re: Select variable range of pages

I have ended up splitting it into 2 actions lists. In the first Action List I fix the TOC. I also set page labels on the TOC pages. In the other action, my selection is then Select All Pages Select Pages with Page Label (to select the TOC pages) NOT - Do changes - And since this process is running i...
by JimmyHartington
Thu Apr 18, 2024 10:52 pm
Forum: PitStop Pro
Topic: Select variable range of pages
Replies: 7
Views: 157

Re: Select variable range of pages

Hi Loic That work with selecting the pages with the TOC. Now I have trouble selecting all pages EXCEPT the TOC. I probably need to place a NOT the correct place. Now I have: Select all pages Select objects if page is selected Select font Courier-Bold NOT Select page if content is selected - Do chang...
by JimmyHartington
Thu Apr 18, 2024 9:50 pm
Forum: PitStop Pro
Topic: Select variable range of pages
Replies: 7
Views: 157

Re: Select variable range of pages

Ahh. It was something I missed.
Of course I can not add graphics when I end up not having at page selected.
I will try this.
by JimmyHartington
Thu Apr 18, 2024 5:27 pm
Forum: PitStop Pro
Topic: Select variable range of pages
Replies: 7
Views: 157

Select variable range of pages

I am a bit stumped with an action list I am trying to make. Maybe I am missing something obvious. I use a tool to create a table of contents based on bookmarks in a pdf. It is added as the first pages of the pdf. It could be 1, 2, 3 etc number of pages. It is determined automatically by the program....
by JimmyHartington
Wed Apr 17, 2024 9:23 am
Forum: Flows
Topic: EMFILE: too many open files ..main.js
Replies: 24
Views: 1142

Re: EMFILE: too many open files ..main.js

magnussandstrom wrote: Wed Apr 17, 2024 9:19 am Or Enfocus could provide a free Switch dev-license for beta testers. To test beta apps on a production system is not fun and very time consuming for us users.
Agreed. This could solve it as well.
by JimmyHartington
Tue Apr 16, 2024 10:43 pm
Forum: Flows
Topic: EMFILE: too many open files ..main.js
Replies: 24
Views: 1142

Re: EMFILE: too many open files ..main.js

It seems like more bugs or regressions has slipped into the app releases lately. I know the apps are available for beta testing before release. But as I recall it is not possible to run the beta version and a regular version on the same Switch installation. If that was possible I would be more willi...
by JimmyHartington
Tue Apr 16, 2024 8:04 am
Forum: Flows
Topic: 2nd option for unzipping
Replies: 12
Views: 267

Re: 2nd option for unzipping

If you have the folder constraint set to one file, then I do not think you will get a mix up.
Some of my flows utilize this method of a folder constraint set to one file. And then the other files just wait for their turn.
It can be 5 or 100 files.
by JimmyHartington
Tue Apr 16, 2024 6:33 am
Forum: PitStop Pro
Topic: Using one object as reference for the position of another?
Replies: 1
Views: 108

Re: Using one object as reference for the position of another?

I would select the object you need to reference. Set the Art box to selection.
And the place your graphic relative to the Art box.
by JimmyHartington
Mon Apr 15, 2024 10:02 pm
Forum: Flows
Topic: 2nd option for unzipping
Replies: 12
Views: 267

Re: 2nd option for unzipping

With the latest version of the Unarchive app I have reported a bug, because it did not unzip my files correctly.
You could try to install the older version and see if it unzips the files correctly.