Search found 11 matches
- Fri May 08, 2026 11:14 am
- Forum: Node.js scripting
- Topic: best practice for log output
- Replies: 2
- Views: 93811
Re: best practice for log output
sadly, I have not found a good solution for this. So far, all different scripts and apps are custom solutions including how the logging is done in each script
- Tue May 20, 2025 10:35 am
- Forum: Flows
- Topic: Trigger dummy job every 1th of each month
- Replies: 4
- Views: 5997
Re: Trigger dummy job every 1th of each month
A dedicated app for this would be nice, like "trigger cron job" with cron notations as a parameter.
Right now I would solve your use case with the app "FireStarter" from the app store:
https://www0.enfocus.com/en/appstore/pr ... irestarter
*edit*: aaaaaah Jimmy was faster!
Right now I would solve your use case with the app "FireStarter" from the app store:
https://www0.enfocus.com/en/appstore/pr ... irestarter
*edit*: aaaaaah Jimmy was faster!
- Mon May 19, 2025 2:43 pm
- Forum: Node.js scripting
- Topic: Merge Excel files
- Replies: 14
- Views: 249908
Re: Merge Excel files
I am kind of surprised that no one mentioned Easy Data Transform: https://www.easydatatransform.com/ Unbelievably mighty tool. That one time fee is a joke for what it can do. Miller is also good, yes. But EDT has the advantage that you can "click" your workflow in a GUI and you can see wha...
- Fri Mar 21, 2025 4:40 pm
- Forum: Node.js scripting
- Topic: best practice for log output
- Replies: 2
- Views: 93811
best practice for log output
Hey fellow switch lovers, so far I developed about 30 node scripts for many different use cases and ~5 apps for the app store and I am reaaaally happy how this all works out within switch. One issue bothers me which leads to posting here: sending log files when using traffic light output connections...
- Wed Jul 17, 2024 12:06 pm
- Forum: Applications
- Topic: InDesign Server configurator for remote IDS
- Replies: 1
- Views: 71488
InDesign Server configurator for remote IDS
As far as I know the "InDesign Server" configurator wants to use a locally installed InDesign Server. What if I need to use an InDesign Server that runs remote on another machine? Is there a configurator for that or do I really have to set up my own SOAP call to that InDesign Server? Does ...
- Wed May 15, 2024 3:45 pm
- Forum: LEGACY scripting
- Topic: utf-16 to utf-8
- Replies: 7
- Views: 55256
Re: utf-16 to utf-8
I know this is an unbelievably old topic, but I actually needed it right now #!/bin/sh # sourceFilePath="$1" targetFilePath="$2" iconv -f MacRoman -t UTF-8 $sourceFilePath > $targetFilePath to convert from MacRoman to UTF-8 "File at path" as "Output" is correc...
- Thu Jun 29, 2023 10:06 am
- Forum: Node.js scripting
- Topic: Database Values as NodeJS Parameters
- Replies: 7
- Views: 38016
Re: Database Values as NodeJS Parameters
Sad story. It only works when the parameters come back fast enough. I penetrated it with ~20 switch jobs sequentially (not even parallel) and all those jobs had the same parameters being read from a database. Don't get me wrong, but 20 test jobs is not even much, this would definitely happen in prod...
- Wed Jun 28, 2023 5:27 pm
- Forum: Node.js scripting
- Topic: Database Values as NodeJS Parameters
- Replies: 7
- Views: 38016
Re: Database Values as NodeJS Parameters
I highly appreciate your help, Thomas. When I try your code, I get: Argument of type '(value: unknown) => void' is not assignable to parameter of type 'number'. because the setTimeout returns void and something else is expected? I was eager enough to "just remove" the _resolve_ keyword/par...
- Wed Jun 21, 2023 12:20 pm
- Forum: Node.js scripting
- Topic: Database Values as NodeJS Parameters
- Replies: 7
- Views: 38016
Re: Database Values as NodeJS Parameters
We experience this even more often. Using variables from "a Database Connection" (via the Database Connection Module) as parameters for scripts seems to be broken. I don't know if this is something that only we experience? If anybody else can confirm this "behavior", this might b...
- Wed Jun 07, 2023 3:03 pm
- Forum: Node.js scripting
- Topic: Database Values as NodeJS Parameters
- Replies: 7
- Views: 38016
Re: Database Values as NodeJS Parameters
The SQL SELECT works within the Switch Flow and the # hashtags are just placeholders as I wrote:
(the hashtags are placeholders for privacy reasons, this part is just an example and works 100%)
(the hashtags are placeholders for privacy reasons, this part is just an example and works 100%)
- Wed Jun 07, 2023 2:49 pm
- Forum: Node.js scripting
- Topic: Database Values as NodeJS Parameters
- Replies: 7
- Views: 38016
Database Values as NodeJS Parameters
We use a SwitchScript to save values in private data fields of the job and this script works perfectly well as a legacy script. We now rewrote it as a NodeJS SwitchScript and it also works like a charm, but NOT when a parameter value for the script comes from a variable that fetches a value from a D...