Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Robert McKeever via 4D_Tech
This is what I do: SET CURRENT PRINTER(<>FormPrinter)` where <>FormPrinter is "Microsoft Print to PDF" SET PRINT OPTION(Destination option;2;$FileName) SET PRINT OPTION(Orientation option;2) Then, I just print. To print a patient chart, I open a print job, and print forms, images, PDF’s

Re: Replacing FootRunner in v16

2019-03-01 Thread Jeffrey Kain via 4D_Tech
This technique works great by the way. Add K @4D pointed this out to us last summer, and we implemented a secure, locked down way to do this in our compiled application; it has really saved us a few times! -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 23, 2019, at 4:24 AM, GI -AJAR via

RE: exe file that can launch 4D client as well as Chrome?

2019-03-01 Thread Keith Goebel via 4D_Tech
Chip, Julio and Tai, Many thanks for your replies and ideas. Much food for thought. Cheers, Keith ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: Replacing FootRunner in v16

2019-03-01 Thread GI -AJAR via 4D_Tech
Hi, I have fond this on their website. Must help you. http://www.footprints-inc.com/Blog/13 Best Regards, Gabriel Inzirillo Envoyé de mon iPhone > Le 23 févr. 2019 à 09:33, Peter Adam via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Fir many years I have been running scripts for 4D

Re: Ref: Debugger window corruption

2019-03-01 Thread Douglas von Roeder via 4D_Tech
John: Happy to help. -- Douglas von Roeder 949-336-2902 On Fri, Mar 1, 2019 at 12:09 PM John J Foster wrote: > Hey Doug, > > Thanks! > > A whole world of info to the “trained” eyes! > > Appreciate, > John… > > > > The kb is handy but, for searching, try this in Google > >

Ref: Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hey Doug, Thanks! A whole world of info to the “trained” eyes! Appreciate, John… > The kb is handy but, for searching, try this in Google > > site:https://kb.4d.com debugger > > > > The full

Re: Ref: Debugger window corruption

2019-03-01 Thread Douglas von Roeder via 4D_Tech
John: Understood. The kb is handy but, for searching, try this in Google site:https://kb.4d.com debugger The full text search in the doc center is handy (upper right hand corner) but this works pretty

Re: Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hi Steve, I think so. The core structural fragment of the code is: Case of : ($version="13@“) … Else //4D V14 & V15 End case John… > On Mar 1, 2019, at 10:59 AM, Stephen J. Orth > wrote: > > John, > > Which version of my method are you running? Is it the one from

Ref: Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hey Doug, I thought there’d be an KB step but couldn’t;t find it. I guess I used “Debugger issue” and “Debugger corruption” and I should’ve just used “Debugger”. Anyway, it’s all good and logged for future reference if needed again. Appreciate, John… > John: > > Happy to pass that along.

Re: Debugger window corruption

2019-03-01 Thread Douglas von Roeder via 4D_Tech
John: Happy to pass that along. I just checked the kb: https://kb.4d.com/assetid=78161 -- Douglas von Roeder 949-336-2902 On Fri, Mar 1, 2019 at 10:58 AM John J Foster wrote: > Hi Doug, > > Thanks! > > Just holding the Shift key down and run (click the green button) from any > method

RE: Debugger window corruption

2019-03-01 Thread Stephen J. Orth via 4D_Tech
John, Which version of my method are you running? Is it the one from 2015 that works for V13 -> V16? Steve * Stephen J. Orth The Aquila Group, Inc. Office: (608) 834-9213 P.O. Box 690

Fwd: Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hi Doug, Thanks! Just holding the Shift key down and run (click the green button) from any method appears to have worked. Yeah!!! Appreciate, John… > John: > > I saw this documented only recently so I thought it was for V17 but I just > checked it in 15.4 - Win server, Mac client. > >

Ref: Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hi Neil, I searched and found the v15 method you mentioned. It was authored by Stephen J. Orth. I created the method and ran it but it didn’t work for me. Not sure why. Although I’ll respond in another email to what did work... Appreciate, John… >> On the left side pane the Variables is the

Re: Debugger window corruption

2019-03-01 Thread Douglas von Roeder via 4D_Tech
John: I saw this documented only recently so I thought it was for V17 but I just checked it in 15.4 - Win server, Mac client. Hold down the Shift key to reset the boundaries for the editor windows in design mode. In the case of the debugger, create an empty method (I have one called

Re: Debugger window corruption

2019-03-01 Thread Chuck Miller via 4D_Tech
You should try at least 15.6. Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Chuck Miller via 4D_Tech
You don’t specify but what version of 4D.I think you may have rot use PDF center 1.2 to make this work. I also don’t see in your code any new area command so perhaps that is the problem Regards Chuck

RE: Debugger window corruption

2019-03-01 Thread Dennis, Neil via 4D_Tech
> On the left side pane the Variables is the top and anything above that I do > not have access to. I cannot get to the debugger buttons. There was a debugger reset method that was posted a few years ago. I don't have the one for v15 but if you search you might be able to find it. I think it

Debugger window corruption

2019-03-01 Thread John J Foster via 4D_Tech
Hi All, Mac OS 12.6 4D 15.2 (have to stay with this version until client upgrades to v16/v17). In the last few days I’ve experienced a strange Debugger issue (corruption) that I cannot seem to fix. I think it happened after a crash. What is happening is that the top parts of the debugger

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Bill Hutten via 4D_Tech
On Fri, Mar 1, 2019, at 1:16 PM, Koen Van Hooreweghe via 4D_Tech wrote: > I think the OPEN/CLOSE PRINTING JOB is not needed and perhaps causing > problems with 4D Write. Interestingly enough if those are removed the code does not print anything - no PDF file is created. They're used in a 4D

Re: Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Koen Van Hooreweghe via 4D_Tech
Hi Bill, I think the OPEN/CLOSE PRINTING JOB is not needed and perhaps causing problems with 4D Write. HTH Koen > Op 1 mrt. 2019, om 18:01 heeft Bill Hutten via 4D_Tech <4d_tech@lists.4d.com> > het volgende geschreven: > > It works, in that a PDF is created, with the right $fname, at the

Printing 4D Write to PDF via Windows 10 "Microsoft Print to PDF"

2019-03-01 Thread Bill Hutten via 4D_Tech
Hi all - Apologies in advance - if this has been discussed and I'm just missing it, please point me to the archives. I need to print 4D Write docs (not 4D Write Pro), on Windows 10, to PDF, using the built-in "Microsoft Print to PDF" printer. This is the code I curently have, cobbled togeather

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
A correction: At least in Windows Server 2008 *R2* Powershell is pre-installed. So I think it is the same with Windows 7. > Can't speak for Windows7 for sure, but in all newer versions it is > integrated. > > > > > is powershell now (win7+ standard? Regards Lutz

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
Can't speak for Windows7 for sure, but in all newer versions it is integrated. > > is powershell now (win7+ standard? -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin http://www.agendo.de/

RE: LEP that will quit Chrome?

2019-03-01 Thread Chip Scheide via 4D_Tech
is powershell now (win7+ standard? CHip On Fri, 1 Mar 2019 08:53:08 +, Epperlein, Lutz (agendo) via 4D_Tech wrote: > We use powershell. > In powershell you can do > > Get-Process chrome > > And if you want to kill the process: > > Get-Process chrome | Stop-Process > > Calling with LEP

Re: Switching from FTP to Dropbox

2019-03-01 Thread Randy Jaynes via 4D_Tech
Tim, I would think you could use their API with the HTTP Request command, and maybe some cURL calls for the actual file downloading. The API looks similar to other REST APIs we’ve had to work with, so it _looks_ like it should work similarly. Randy

Switching from FTP to Dropbox

2019-03-01 Thread Tim Nevels via 4D_Tech
I’m considering switching from using FTP to host update files to using my Dropbox account. I’m wondering if anyone has written some 4D code that allows uploading files to Dropbox and downloading files from Dropbox. I could get by uploading files to Dropbox via the macOS Finder integration

RE: 4D Web Log Out

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
I'm not really understand your problem. What do you mean with "the browser still persists with the username and password"? Does it mean that you send these credentials with every request to the web server? What we do is this: If the browser makes a request without a cookie or with wrong cookie,

RE: LEP that will quit Chrome?

2019-03-01 Thread Epperlein, Lutz (agendo) via 4D_Tech
We use powershell. In powershell you can do Get-Process chrome And if you want to kill the process: Get-Process chrome | Stop-Process Calling with LEP can do this way: $vtxtBatchName:="powershell.exe -executionpolicy remotesigned -OutputFormat Text "+\ "-File

Re: 4D Web Log Out

2019-03-01 Thread Douglas Cryer via 4D_Tech
Dani, Re: Have you looked at the "WEB CLOSE SESSION” command? That is probably what you are looking for assuming you are using the built in 4D sessions. Yes I have looked extensively at that command and I am using it. The examples all deal with how you would use it with regards the "On