Hi,
has your inputfile always the same structure?
Search found 33 matches
- Tue Jan 19, 2021 1:54 pm
- Forum: Node.js scripting
- Topic: Text to XML using Node.js in Switch Scripter
- Replies: 5
- Views: 9237
- Mon Jan 18, 2021 12:52 pm
- Forum: Node.js scripting
- Topic: api call with https
- Replies: 4
- Views: 5334
Re: api call with https
Hi Freddy,
you made my day
I have to learn, to learn, to learn ...
Greetings Michael
you made my day
I have to learn, to learn, to learn ...
Greetings Michael
- Sat Jan 16, 2021 2:45 pm
- Forum: Node.js scripting
- Topic: api call from flow
- Replies: 6
- Views: 8166
Re: api call from flow
Hi,
can you post, what you changed?
can you post, what you changed?
- Sat Jan 16, 2021 10:00 am
- Forum: Node.js scripting
- Topic: api call with https
- Replies: 4
- Views: 5334
api call with https
Hello, whats wrong with this script, when I execute the Script with nodjs on Terminal it works, when I transpile it, the api-call will never run in Switch???? const https = import('https'); async function jobArrived(s: Switch, flowElement: FlowElement, job: Job) { let datei = job.getName(); let ziel...
- Fri Sep 29, 2017 7:23 am
- Forum: LEGACY scripting
- Topic: Count of Pages in PDF
- Replies: 4
- Views: 8222
Re: Count of Pages in PDF
Hi Zegwaard,
great - works like a charm
great - works like a charm
- Thu Sep 28, 2017 7:12 pm
- Forum: LEGACY scripting
- Topic: Count of Pages in PDF
- Replies: 4
- Views: 8222
Count of Pages in PDF
Hi, I think I am stupid, but how do I count the Pages of an PDF? - mdls won't work - a) via spotlight via launchctl deactivatet b) the flow is too fast - I tried exiftool, but var getPages = ("/usr/bin/perl /usr/local/Cellar/exiftool/10.55/bin/exiftool -\"*Count\" " + OrigFile); ...
- Mon Nov 05, 2012 6:35 am
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Hi - that is now my ready Script. It works for me and I know it could be better (for example OutPutFolder of PDF-Merge). What did the Flow: 1. Rotate Pages 180° (Callas kfpx) 2. Split-PDFs (Callas Action) 3. Rebuild the Pages -> Merge backwards (the Script) Now I can place the new PDF to an other on...
- Sun Nov 04, 2012 12:01 pm
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Solved: The error was the array - now I build the cli manually: var String befehl = ""/Applications/callas pdfToolbox Server 6/cli/pdfToolbox"" + " " + "--mergepdf" + " " + "-o=/Users/michael/Desktop/bitburg/test/bla.pdf" + " " + ...
- Sun Nov 04, 2012 11:15 am
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Hi Peter, thank you, but I get the same Error: 29> var theExitCode = Process.execute(args); 30> var thestdOut = Process.stdout(); 31> var thestdErr = Process.stderr(); 32> s.log(1, "test: " + theExitCode); 33> s.log(1, "Out: " + thestdOut); 34> s.log(1, "Err: " + thestd...
- Sat Nov 03, 2012 9:30 am
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Hi dkelly,
can you give me an example of Process.stdout and Process.stderr?
I only get: TypeError. 'stdout' undefined or not a function
Gruß
Michael
can you give me an example of Process.stdout and Process.stderr?
I only get: TypeError. 'stdout' undefined or not a function
Gruß
Michael
- Sat Nov 03, 2012 8:21 am
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Hi dkelly, I could see, what my problem is: I use Mac OS X 10.8.2, Switch 11 Update 2 I can call a program with process.execute when there are no spaces in file-/foldername. I tried to escape the spaces with but no reason. I think I have to call enfocus for this - I could reproduce this on two machi...
- Fri Nov 02, 2012 9:51 am
- Forum: LEGACY scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 12677
question about Process.execute
Hi, I have written a little script which calls on end Process.execute. As I am a absolute beginner in scripting I can't 'debug' the Process.execute - the only log: s.log(1, "bla: " + Process.execute(args) gives me only: bla: 103 Here is the content of args: args: /Applications/callas pdfTo...
- Mon Sep 10, 2012 7:51 am
- Forum: Flows
- Topic: Assemble Job performance
- Replies: 6
- Views: 8518
Assemble Job performance
Hi - I use Assemble Jobs with Ungroup Jobs - i can get results with more than 1000 Files to assemble. The time to assemble is more then three hours
- Thu Aug 02, 2012 7:59 pm
- Forum: LEGACY scripting
- Topic: Using data from MySQL via ODBC
- Replies: 5
- Views: 11083
Using data from MySQL via ODBC
Hi dkelly,
thank you - I get an result with getString, but only the first digit:
maybe the result is: 2012
i get only: 2
Can you help?
thank you - I get an result with getString, but only the first digit:
maybe the result is: 2012
i get only: 2
Can you help?
- Mon Jul 09, 2012 8:12 pm
- Forum: LEGACY scripting
- Topic: Using data from MySQL via ODBC
- Replies: 5
- Views: 11083
Using data from MySQL via ODBC
Hi Robert,
there is now getColumnValue in PowerSwitch 11 and the Docu isn't much helpful.
Can you tell us, how to get a result from a query (select bla,bla1,bla2 from table where bla = 'bla';) so that I can read the result with s.log?
Gruß
Michael
there is now getColumnValue in PowerSwitch 11 and the Docu isn't much helpful.
Can you tell us, how to get a result from a query (select bla,bla1,bla2 from table where bla = 'bla';) so that I can read the result with s.log?
Gruß
Michael