Search found 9 matches

by w3gmbh
Thu Jul 08, 2021 11:17 am
Forum: Node.js scripting
Topic: Typescript / compile
Replies: 4
Views: 262

Re: Typescript / compile

Padawan,

thx! RunOnSave seems promising. I'll give it a try.

Ralf.
by w3gmbh
Wed Jul 07, 2021 10:39 am
Forum: Node.js scripting
Topic: Typescript / compile
Replies: 4
Views: 262

Typescript / compile

I wonder if we're doing it the right way. we're coding in typescript (main.ts), after any change we run npm run compile (in order to create the main.js). part of package.json: "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "pack": "SwitchScriptTool --transpile . && SwitchScriptT...
by w3gmbh
Thu Jul 30, 2020 4:41 pm
Forum: Node.js scripting
Topic: New scripting engine in Switch 2020
Replies: 10
Views: 5240

Re: New scripting engine in Switch 2020

just tried a bit node.js scripting within Switch. All in all great! Every little thing which has been missing is now available, wow! But, during debugging, when changing anything within the script(s), Flow has to be deactivated, the Switchscripter has to be loaded again, then saved (changing the pat...
by w3gmbh
Wed Jul 22, 2020 1:42 pm
Forum: Switch
Topic: ODBC lookup excel system tables
Replies: 1
Views: 1185

ODBC lookup excel system tables

when doing a odbc lookup everything's fine, but: using excel as odbc datasource the tables (sheets) are referenced as system tables, not as standard tables. So they aren't showing up using the database connector. When trying with MS-Query, there's an option to show these table making them accessible...
by w3gmbh
Wed Jul 22, 2020 12:55 pm
Forum: Switch
Topic: Sending Printjobs to network printers
Replies: 9
Views: 3501

Re: Sending Printjobs to network printers

when using gsprint (blazing fast, no size mismatches) you can use all those switches (including copies):

http://www.ccp14.ac.uk/ccp/web-mirrors/ ... sprint.htm

Simple implementation screenshot:
gsprint.PNG
gsprint.PNG (11.85 KiB) Viewed 3344 times
Cheers,

Ralf
by w3gmbh
Tue Jul 21, 2020 12:24 pm
Forum: Switch
Topic: Sending Printjobs to network printers
Replies: 9
Views: 3501

Re: Sending Printjobs to network printers

Benjamin, a nice and fast option for me was to use gsprint, a part of ghostview, extremely fast and configurable (just change your printer config). see: http://www.ghostgum.com.au/software/gsview.htm Switch Setup: Application: C:/Program Files/Ghostgum/gsview/gsprint.exe Parameters: -noquery -color ...
by w3gmbh
Tue Jul 21, 2020 11:03 am
Forum: Switch
Topic: cleanup datasets folder
Replies: 0
Views: 1564

cleanup datasets folder

I just recognized while updating to 2020 Switch stored a lot (about 1.000.000) of old XML files in
%AppData%\Enfocus\Switch Server\datasets.

Is there a way to cleanup that folder?

regards,

Ralf.
by w3gmbh
Tue Nov 14, 2017 3:19 pm
Forum: Flows
Topic: XML Pickup external Asset with wildcards and subfolders
Replies: 0
Views: 2686

XML Pickup external Asset with wildcards and subfolders

Hello, for an incoming single XML I'm using XML pickup (Metadata is asset) to extract a part of the PDF filename to be injected. The filename part is [Metadata.Text:Path="/Druckdaten/DruckNo/NAME",Dataset="Xml",Model="XML"]. The assets to be processed (one or several pdfs matching the filenames) are...
by w3gmbh
Fri Aug 29, 2014 7:11 pm
Forum: LEGACY scripting
Topic: process some jobs, wait for user input to inject the others
Replies: 2
Views: 2711

process some jobs, wait for user input to inject the others

Hi, I'm trying to create a workflow for this scenario: All jobs are flat single file jobs in one incoming queue. Each job has 3 pdf files: - order sheet PDF - box (the packaging) PDF - content (the product itself) PDF Naming is strict as follows: AAA_BBBB_CCC_DDDDDDDDDD_E_F.pdf AAA: product-type (bo...