Search found 10 matches

by May
Tue May 20, 2025 10:35 am
Forum: Flows
Topic: Trigger dummy job every 1th of each month
Replies: 4
Views: 1804

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! :D
by May
Mon May 19, 2025 2:43 pm
Forum: Node.js scripting
Topic: Merge Excel files
Replies: 11
Views: 42964

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...
by May
Fri Mar 21, 2025 4:40 pm
Forum: Node.js scripting
Topic: best practice for log output
Replies: 0
Views: 46245

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...
by May
Wed Jul 17, 2024 12:06 pm
Forum: Applications
Topic: InDesign Server configurator for remote IDS
Replies: 0
Views: 54741

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 ...
by May
Wed May 15, 2024 3:45 pm
Forum: LEGACY scripting
Topic: utf-16 to utf-8
Replies: 7
Views: 33150

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...
by May
Thu Jun 29, 2023 10:06 am
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 32912

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...
by May
Wed Jun 28, 2023 5:27 pm
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 32912

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...
by May
Wed Jun 21, 2023 12:20 pm
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 32912

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...
by May
Wed Jun 07, 2023 3:03 pm
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 32912

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%)
by May
Wed Jun 07, 2023 2:49 pm
Forum: Node.js scripting
Topic: Database Values as NodeJS Parameters
Replies: 7
Views: 32912

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...