Search found 420 matches

by jan_suhr
Thu Apr 15, 2021 8:09 am
Forum: Flows
Topic: Compress all files in folder when newest file is older than 30 min
Replies: 4
Views: 122

Re: Compress all files in folder when newest file is older than 30 min

Inject Job with "Time of day" as the trigger, could that work for you?
by jan_suhr
Tue Apr 13, 2021 7:47 pm
Forum: LEGACY scripting
Topic: excel data merge to indesign
Replies: 3
Views: 4380

Re: excel data merge to indesign

With the app Excel to XML you get a good start. Then you set up an InDesign template with XML - import in the InDesign configurator.
That is basically it.
by jan_suhr
Tue Apr 13, 2021 7:47 pm
Forum: LEGACY scripting
Topic: excel data merge to indesign
Replies: 3
Views: 4380

Re: excel data merge to indesign

With the app Excel to XML you get a good start. Then you set up an InDesign template with XML - import in the InDesign configurator.
That is basically it.
by jan_suhr
Tue Apr 13, 2021 2:00 pm
Forum: Flows
Topic: How can I view when a Switch Flow was last used?
Replies: 5
Views: 163

Re: How can I view when a Switch Flow was last used?

You can set up an database like MySQL and send an HTPP-Request to it (over PHP) and store data that way.
You have the Switch variables [Switch.FlowName] and [Switch.Date:TimeZone="UTC"] that give you the data you need to see when it last was used.
by jan_suhr
Mon Apr 12, 2021 5:42 pm
Forum: Flows
Topic: PDFTK does not output PDFs in Switch unless manual folder scan is invoked
Replies: 5
Views: 141

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Arthur wrote:
Mon Apr 12, 2021 3:06 pm
Will check that later. I chose a defined path however as the "%2" never worked for me....
Will report after the changes.
Interesting though....
Sounds like the Output property is set to None
by jan_suhr
Mon Apr 12, 2021 2:40 pm
Forum: Flows
Topic: PDFTK does not output PDFs in Switch unless manual folder scan is invoked
Replies: 5
Views: 141

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

And also set the Output property to "File at path" it is by default None and will there fore not output anything
by jan_suhr
Thu Apr 01, 2021 7:49 am
Forum: Node.js scripting
Topic: Issue With job.getPath()
Replies: 2
Views: 226

Re: Issue With job.getPath()

You don't have any job.getPath() function in Node.js for Switch. BTW the manual you link to is a really old one from Switch 11 and for the old Legacy scripting. Try this one which have an example on how to get the job path. https://www.enfocus.com/manuals/DeveloperGuide/SW/20/home.html#en-us/common/...
by jan_suhr
Wed Mar 31, 2021 7:51 am
Forum: Flows
Topic: Word configurator
Replies: 2
Views: 1273

Re: Word configurator

How does the PDF look if you save as PDF from within Word?
by jan_suhr
Fri Mar 12, 2021 3:34 pm
Forum: Flows
Topic: How to set text file contents as email body
Replies: 11
Views: 1574

Re: How to set text file contents as email body

I see that you are from Sweden, call me at 0707490774 and I can take a look at it.
by jan_suhr
Thu Mar 11, 2021 6:00 pm
Forum: Flows
Topic: How to set text file contents as email body
Replies: 11
Views: 1574

Re: How to set text file contents as email body

In your own HTML-template you insert Switch variables with the information you want to display in the email.
by jan_suhr
Wed Mar 10, 2021 11:00 am
Forum: Flows
Topic: Calculate date from [weeknumber]-[weekdaynumber]?
Replies: 3
Views: 413

Re: Calculate date from [weeknumber]-[weekdaynumber]?

It can be even simpler

Code: Select all

const moment = require("moment");

var myDay = moment("2021-W05-4").format("YYYY-MM-DD");

console.log(myDay);
In this case the 05 and 4 will be replaced by variables or maybe just one variable for the 05-4
by jan_suhr
Tue Feb 23, 2021 8:55 pm
Forum: Appstore
Topic: String Replace
Replies: 3
Views: 1765

Re: String Replace

Great
by jan_suhr
Tue Feb 23, 2021 6:50 pm
Forum: Appstore
Topic: String Replace
Replies: 3
Views: 1765

Re: String Replace

Have you tried \n
by jan_suhr
Mon Feb 22, 2021 7:36 am
Forum: Flows
Topic: Moving big files
Replies: 5
Views: 683

Re: Moving big files

You can split the flow to run only the XML-files through another Submit hierarchy element.