Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Ortwin. I tried with both in, both out, one or the other in and out and the Web Area still refuses to display the PDF. The area remains blank. To all who have tried to help in this regard… I will have to put this aside for now. Probably make a call to Tech Support just to see if perhaps it ne

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Ortwin Zillgen via 4D_Tech
> I think the problem may be High Sierra. nope > Try updating Adobe of no help > I must not be doing it right as Safari continues to display using the Preview > viewer and Firefox displays in Adobe Reader. I have 2 plugins... > > AdobePDFViewer.plugin > AdobePDFFViewerNPAPI.plugin that's the

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Oops did not finish a sentence… The process to enable AdobePDFViewer in Higfh Sierra appears to have changed a bit. Maybe it changed earlier, but I did not notice. > On Oct 18, 2017, at 11:13 PM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > I think the problem may be High

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
David, I hear you. I am being a bit stubborn just because it should be working, it isn’t, and I want it to. This is being deployed on windows and it is working just fine there. So no need to buy anything, but it’s annoying that it does not work on the Mac. I think I am going to call TS and if

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I think the problem may be High Sierra. Enabling the Adobe PDF viewer in Safari High Sierra > On Oct 18, 2017, at 10:46 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Try updating Adobe > > > On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> w

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread David Adams via 4D_Tech
John, This all sounds very familiar & is why I went with Rob's viewer plug-in. http://www.pluggers.nl/product/pdf-viewer/ This plug-in isn't crazy expensive like some of the PDF generating tools. (I think Rob faces high licensing costs of his own on those.) **

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Try updating Adobe On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > R4 > > > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Which version of 4D? > > > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_T

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Restarte the Mac. I must not be doing it right as Safari continues to display using the Preview viewer and Firefox displays in Adobe Reader. I have 2 plugins... AdobePDFViewer.plugin AdobePDFFViewerNPAPI.plugin This R4. John > On Oct 18, 2017, at 10:22 PM, Sujit Shah via 4D_Tech <4d_tech

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
R4 > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Which version of 4D? > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Not running 64-bit so I don’t believe Blink is involved, but tried your >> sugg

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Which version of 4D? On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Not running 64-bit so I don’t believe Blink is involved, but tried your > suggestion. Still does not work. It loads a blank html or any html for that > matter, but not a pdf. > > > On O

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Not running 64-bit so I don’t believe Blink is involved, but tried your suggestion. Still does not work. It loads a blank html or any html for that matter, but not a pdf. > On Oct 18, 2017, at 6:10 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > what if you load a blank HTML

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
That’s disappointing Which version of 4D? Is integrated web kit ticked? I had a similar issue but don’t remember what fixed it. On Thu, 19 Oct 2017 at 7:11 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I just checked and on my mac I did not have the adobe plug-in in the > Use

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I just checked and on my mac I did not have the adobe plug-in in the User’s library folder but it was in the System Library folder. I removed it from the system library folder and the 4D Web Area still does not display a pdf. Also tried putting it in the Users library to no avail. > On Oct 18

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Ortwin Zillgen via 4D_Tech
while Acrobat Reader was relevant on macOS, it planted itself as the default PDF-viewer inside a WebBrowser. That didn't work well with 4D webarea. As far as I remember at a place like this /Users/~/Library/Internet Plug-Ins/acrobatreader.plugin Removing the plugin allowed 4D to display PDFs in p

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread Keisuke Miyako via 4D_Tech
what if you load a blank HTML page first, and then switch over to PDF? > Using Blink (Embedded Web rendering engine in 4D 64-bit versions) > • WA SET PAGE CONTENT: using this command requires that at least one page is > already loaded in the area (through a call to WA OPEN URL or an assignment

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread David Adams via 4D_Tech
On Thu, Oct 19, 2017 at 10:51 AM, Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > John, > > I use Rob Laveaux's pdf viewer plugin rather than the web area.I use Rob > Laveaux's pdf viewer plugin rather than the web area. +1 *

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
Shortened the path down to… file path: Macintosh HD:Users:johnbdh2:Desktop:004_4_C_1987PB2.pdf Posix path: /Users/johnbdh2/Desktop/004_4_C_1987PB2.pdf Still not being displayed on a mac > On Oct 18, 2017, at 3:06 PM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote:

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John DeSoi via 4D_Tech
> On Oct 18, 2017, at 6:22 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > There is nothing in the path names that require encoding ie.. WA OPEN > URL(waDocument;"file://"+$posixPath) and WA OPEN > URL(waDocument;"file://"+$posixPath;*) return the same thing. For example > w

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
Wayne, > > I use Rob Laveaux's pdf viewer plugin rather than the web area. Down the road I am going to have to display other file types. Not sure yet how I am going to do that, but am hoping that I can do it in the a 4D Web Area. If not I will certainly look at Rob’s PDF Viewer just fo

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
I created a text variable on the form and put WA Get current URL(waDocument) in Variable or Expression field of the variables's property list. When opened the text fariable displays the proper posix file path provided on load. There is no change to the text variable or the Web Area when I drag

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread Wayne Stewart via 4D_Tech
John, I use Rob Laveaux's pdf viewer plugin rather than the web area. http://www.pluggers.nl/product/pdf-viewer/ FYI: There is a memory leak in the old web area with pdf display but not in the new Blink based one, I'm not certain if that applies in your specific case. https://blog.4d.com/new-re

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread Keisuke Miyako via 4D_Tech
one thing you could do is to create a form with a web area, a text input with the web area's url variable as its data source, run it, drag and drop a file to the web area, and check what is displayed in the url variable. > 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール: > Is

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
Thanks Keisuke, There is nothing in the path names that require encoding ie.. WA OPEN URL(waDocument;"file://"+$posixPath) and WA OPEN URL(waDocument;"file://"+$posixPath;*) return the same thing. For example with the *… $opsixPath = "/Users/johnbdh2/Desktop/004_4_C_1987PB2-PG2MedOffc

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread Keisuke Miyako via 4D_Tech
keep in mind that a POSIX path is not the same as URL. having said that, WAOPEN URL (despite its name) accepts either a URL or a path. for reference: system file path: Windows: C:\MyFolder\My File.html macOS: Macintosh HD:MyFolder:My File.html URL: Windows: file:///C:/MyFolder/My%20File.html m

PDF in Web Area not displaying on a Mac

2017-10-18 Thread John Baughman via 4D_Tech
I have a Web Area on a form that works fine when run on a windows machine but not on a mac. I am using the following code on load of the form… If (Test path name([Document]File_Path)=Is a document) $posixPath:=Convert path system to POSIX([Document]File_Path)