Search found 276 matches

by sander
Thu Feb 28, 2019 4:12 pm
Forum: Flows
Topic: Network paths (Switch on Windows)
Replies: 4
Views: 8412

Re: Network paths (Switch on Windows)

I agree ;)
by sander
Wed Feb 27, 2019 6:08 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16394

Re: JSON with special characters

Now I’m thinking of it, try this header, might work:
Content-Type: application/json;charset=utf-8
by sander
Wed Feb 27, 2019 5:25 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16394

Re: JSON with special characters

Ouch, you posted in scripting. I’m not sure about these 3rd party apps. Do you have the scripting module?
by sander
Wed Feb 27, 2019 4:19 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16394

Re: JSON with special characters

mart3223 wrote: Tue Feb 26, 2019 10:52 am If I use the same JSON in Enfocus Switch
Could be a encoding issue. How do you create your json on the Switch server, and how do you post?

e.g. If you create your json via FileWrite try using UTF-8: File.write(json, jsonBody,'UTF-8')
by sander
Mon Jul 30, 2018 3:02 pm
Forum: Flows
Topic: How to deal with case sensitive extensions ??
Replies: 3
Views: 6692

Re: How to deal with case sensitive extensions ??

I replace with this one, so one rename job does lower all extensions:
[Job.Extension:Case="lower"]
This is utterly stupid. What benefit of this differentiation ??
JavaScript is a case-sensitive language.
by sander
Mon Jul 30, 2018 12:33 pm
Forum: Applications
Topic: MS Word configurator
Replies: 6
Views: 12291

Re: MS Word configurator

Sander - have you got it implemented that way ?? Any working script you could share ?? Nope I'm using a lot of xlsx to csv and reversed but not doc. However I created this one for you. This is something we don't need to reinvent, I got most of this script @ https://stackoverflow.com/questions/16534...
by sander
Mon Jul 23, 2018 7:24 pm
Forum: Applications
Topic: MS Word configurator
Replies: 6
Views: 12291

Re: MS Word configurator

With a Powershell script via Execute Command you probably won’t even notice it’s already done :)
by sander
Wed Jul 18, 2018 12:23 pm
Forum: Flows
Topic: Problem using Hold element
Replies: 5
Views: 8008

Re: Problem using Hold element

You don’t need hold job, just assemble job with correct timeout settings.
by sander
Wed Jul 18, 2018 10:33 am
Forum: Flows
Topic: Problem using Hold element
Replies: 5
Views: 8008

Re: Problem using Hold element

Correct:
"Merge PDF is a processor that produces a single PDF file containing all of the pages provided by the PDF files in the incoming job folder."

You can use a sort before to order your files:
Image
by sander
Wed Jul 18, 2018 10:24 am
Forum: Flows
Topic: Problem using Hold element
Replies: 5
Views: 8008

Re: Problem using Hold element

You need a Assemble Job before Merge PDF. Do you have one? :)
by sander
Fri Jul 13, 2018 12:02 pm
Forum: LEGACY scripting
Topic: Merge CSV files in a folder
Replies: 4
Views: 10049

Re: Merge CSV files in a folder

Laziest approach I can think of:
"copy *.csv combined.csv" via command prompt @ Windows.

Image
by sander
Fri Jul 13, 2018 11:11 am
Forum: LEGACY scripting
Topic: csv to xlsx
Replies: 6
Views: 8164

Re: csv to xlsx

Haha excuse me. I only made a screenshot of my xlsx to csv script instead of csv to xlsx.

Settings are slightly different.
by sander
Thu Jul 12, 2018 8:26 pm
Forum: LEGACY scripting
Topic: csv to xlsx
Replies: 6
Views: 8164

Re: csv to xlsx

Sure:
Edit: wrong script, this is the correct one:
Image
by sander
Wed Jul 11, 2018 6:54 pm
Forum: Applications
Topic: HP Smartstream error - "Registration code is invalid"
Replies: 2
Views: 6211

Re: HP Smartstream error - "Registration code is invalid"

I have seen this issue since years. My workaround is to start Adobe InDesign with Windows startup. I do a scheduled reboot each night. I had to do something myself because my local HP team said Windows Server 2012R2 + Adobe InDesign + Smartstream is not supported. Only consumer Windows versions are ...
by sander
Wed Jul 11, 2018 12:38 pm
Forum: LEGACY scripting
Topic: csv to xlsx
Replies: 6
Views: 8164

Re: csv to xlsx

I'm using Powershell with execute command for it, it works like a charm. # # Script: Save CSV as XLSX # # Last change: 28-10-2014, Sander - Wihabo # # Sources: http://stackoverflow.com/questions/17688468/how-to-export-a-csv-to-excel-using-powershell # param( [string]$fileinput = "", # Swit...