Search found 297 matches
- Thu Apr 25, 2024 9:32 am
- Forum: Flows
- Topic: Hyperlink on a PDF
- Replies: 1
- Views: 70
Re: Hyperlink on a PDF
I use the cpdf https://www.coherentpdf.com command-line (is free, but needs license to be used commercially) for some tasks. It seem from the manual that you can set annotations in a pdf from a JSON-file. So I think you could make a pdf manually in Acrobat with a link. Extract the information about ...
- Wed Apr 24, 2024 9:32 am
- Forum: Flows
- Topic: EMFILE: too many open files ..main.js
- Replies: 25
- Views: 1239
Re: EMFILE: too many open files ..main.js
I just got the ECONNRESET error for five flows, where no files was being processed. This was on the XML Pickup app. But Switch was processing files in another flow, which uses a script I have developed. The script reads a file and sets Private Data. So I do not create any temp files or anything. But...
- Wed Apr 24, 2024 8:08 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
Re: JSON - list of files [SOLVED]
This helps in understanding how.
I have not worked with XLSTs in Switch before. It seems a bit daunting to write XLST, but maybe with the help of AI and testing it could work.
Some of my flows could surely be optimized in some cases by using XLSTs instead of some of my workarounds.
I have not worked with XLSTs in Switch before. It seems a bit daunting to write XLST, but maybe with the help of AI and testing it could work.
Some of my flows could surely be optimized in some cases by using XLSTs instead of some of my workarounds.
- Tue Apr 23, 2024 7:32 pm
- Forum: Switch
- Topic: Acrobat Freezing with print command
- Replies: 3
- Views: 119
Re: Acrobat Freezing with print command
I have just had to move my Switch to a new system. And ran into the problem with Acrobat just hang. My solution was to open a pdf-file manually in Acrobat and complete the startup of Acrobat. There was a tutorial with 5 steps. I suspect Switch uses scripting to open a pdf in Acrobat and do the comma...
- Tue Apr 23, 2024 3:36 pm
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
Re: JSON - list of files [SOLVED]
Ok.
And how do you process the XML with the XLST using Saxon?
And how do you process the XML with the XLST using Saxon?
- Tue Apr 23, 2024 1:17 pm
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
Re: JSON - list of files [SOLVED]
As always there are many ways to achieve the same result
Would you mind sharing how you split the XML with Saxon?
Would you mind sharing how you split the XML with Saxon?
- Tue Apr 23, 2024 11:26 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
Re: JSON - list of files
And here is the info when one of the output files has been processed with the JSON Pickup.
- Tue Apr 23, 2024 10:40 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
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 -...
- Tue Apr 23, 2024 10:35 am
- Forum: Flows
- Topic: JSON - list of files [SOLVED]
- Replies: 12
- Views: 224
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...
- Fri Apr 19, 2024 10:37 am
- Forum: PitStop Pro
- Topic: Select variable range of pages
- Replies: 7
- Views: 170
- Fri Apr 19, 2024 9:56 am
- Forum: PitStop Pro
- Topic: Select variable range of pages
- Replies: 7
- Views: 170
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...
- Thu Apr 18, 2024 10:52 pm
- Forum: PitStop Pro
- Topic: Select variable range of pages
- Replies: 7
- Views: 170
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...
- Thu Apr 18, 2024 9:50 pm
- Forum: PitStop Pro
- Topic: Select variable range of pages
- Replies: 7
- Views: 170
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.
Of course I can not add graphics when I end up not having at page selected.
I will try this.
- Thu Apr 18, 2024 5:27 pm
- Forum: PitStop Pro
- Topic: Select variable range of pages
- Replies: 7
- Views: 170
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....
- Wed Apr 17, 2024 9:23 am
- Forum: Flows
- Topic: EMFILE: too many open files ..main.js
- Replies: 25
- Views: 1239
Re: EMFILE: too many open files ..main.js
Agreed. This could solve it as well.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.