Re: Printing a PDF document from 4D

2019-03-20 Thread Arnaud de Montard via 4D_Tech
> Le 19 mars 2019 à 15:03, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] > so I think it is preferable to generate PDF by code than to "print" it, if > possible. (like with the pluggers plugin) I have not used it myself, but as far as I can remember when a friend

Re: Getting a collection created from 4D function to work in Storage.

2019-03-20 Thread John DeSoi via 4D_Tech
The first line does nothing because you don't do anything with the function result of the call. The second line assigning $myTempVolumeCol to a copy returns a regular collection (see documentation). The error is because you can't assign a regular collection to a shared collection

Re: Kick off compile and build on remote server

2019-03-20 Thread Jim Hays via 4D_Tech
I was able to make a Windows Scheduled Task to run the batch file with elevated permissions. The only problem is you can't see it working. When we run the batch file by hand, we can see commands run in the console, and 4D start and stop. We can probably make this work by piping info out to logs,

Getting a collection created from 4D function to work in Storage.

2019-03-20 Thread Eric Naujock via 4D_Tech
I am having a curious time with this one. I am trying to get a collection retrieved from Get System Info to be saved into the Storage Collection. Right now I am using the following to get the information. $systemInfo:=Get system info $volumeCollections:= $systemInfo.volumes This

Re: Reporting progress

2019-03-20 Thread Chip Scheide via 4D_Tech
Jeremy, Progress Component it would look something like this: Open progress window("Contacting Server...") contact_server-Method Update Progress window("Signing in...") signin_method Update Progress window("Getting obligations...") get_obligation_method Update Progress window("Submitting

Re: Reporting progress

2019-03-20 Thread Herr Alexander Heintz via 4D_Tech
ONLY sensible solution: Just use the 4D Progress Component! Everything else is just reinventing the wheel for nothing, an utter waste of time. Pass the process id variable to whatever process needs to update it and Bob's your uncle. My 2 ct. (Euro cent that is, roughly 2.3 US cent) > Am

Re: Reporting progress

2019-03-20 Thread Peter Mew via 4D_Tech
Hi Jeremy I start a new process <>NewProcess and open a window with a text variable, vProgress, on a form. When ever I want a new message displayed I Do <>Message:= "Hello World"+char(13) Call Process(New Process) Then in the form method for New Process I do IF(Form event = on outside call)

Re: Reporting progress

2019-03-20 Thread Jeremy Roussak via 4D_Tech
v17. I’d not looked at the component; my memory is that it provides a progress bar, which isn’t really what I want (I have my own component to do that). I just want line-by-line text feedback, with each line remaining visible as new lines are added. Jeremy > On 20 Mar 2019, at 10:06, Charles

Utilisation of JSON Resolve pointers

2019-03-20 Thread Bernard Escaich via 4D_Tech
Hi, I would like to merge objects with inheritage ; for example, merge a general variant with a user variant, the user variant containing only properties to be modified. JSON Resolve pointers seems adapted but it allows only pointers to files or to a subobject of current object. It seems not

Re: Reporting progress

2019-03-20 Thread Charles Miller via 4D_Tech
What version. Can you use progress component On Wed, Mar 20, 2019 at 6:00 AM Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I’d like to give feedback about the process of a multi-step task - > something like > > Contacting server… > Signing in… > Getting obligations… > Submitting

Reporting progress

2019-03-20 Thread Jeremy Roussak via 4D_Tech
I’d like to give feedback about the process of a multi-step task - something like Contacting server… Signing in… Getting obligations… Submitting data… Done. appearing one line at a time. Updating a text field in my process’s own window won’t work, as I don’t leave the process and no form