Re: High Sierra - Export Text in 4D v13.6
I want to thank Chip Scheide, Bernd Frölich and Jeremy French for their feedback and suggestions. > From: Bernd Fröhlich > Subject: Re: High Sierra - Export Textin 4D v13.6 > > Might have to do with how High Sierra is putting Apps in a sandbox if they > are not in the Applications directory. > I had something similar happen a while ago. I don´t remember the details but > if you download 4D in a directory that belongs to a "normal" user you can > start it like before, but the OS is putting it in a sandbox directory with a > random name like 07B29AA87F90481387491D4EEF206BB6. > So if you use commands like Get 4D folder it does not return the folder where > you THINK that 4D is located but the name of the random sandbox folder. > > If you move 4D into the application folder you are asked to authorize with > your admin password and the OS removes that quarantine-bit (or whatever it > uses to mark the app). So from then on everything works as expected even when > you the copy 4D from the applications folder to any other place. > > As I said, my memory is a bit vague but I think your problem might be > connected to this behavior of macOS. Definitely, because it does NOT create this file with os's before High Sierra. Why is v15 not displaying this behavior ? It's definitely something with v13.6. & High Sierra. I will apply a cleanup-method after I export the file, in the way Chip Scheide suggested and will work on this the coming days. > Greetings from Germany, > Bernd Fröhlich In this case I run the 4D database v13.6 either compiled or interpreted with the mac 4D app in High Sierra, in the regular Applications folder that you find on the root. It's not a standalone .app. Have not tried that one yet. >> > From: Jeremy French > Subject: Re: High Sierra - Export Textin 4D v13.6 > > Have you looked at "Design -> Database Settings -> Database -> Temporary > Folder Location”? > > Is the "Temporary File Location" set to the “Resources” folder? > > >> there is a .temp file with a long filename >> (“07B29AA87F90481387491D4EEF206BB6.temp”) ALSO created in that Resource >> folder. The settings --> Database --> Temporary Folder Location is not set and the radiobutton of the 3 choices, the middle one, is set: Data File Folder. Current (location) is empty, as is Choose a folder line. However the folder "Temporary" I encounter in my Data File Folder ( is where I have the structure & datafile and the Resource Folder ) is empty. I do find the .temp file in the Resource Folder. Thank all for their input. Greetings ernie hilgers (aruba) ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: 4D 64-bit font darkness
I was looking on Mac. It seems to be across the board. Lucida Grande and the High Sierra system font (can't think of the name - San Francisco?) are probably the most used. > On Jun 6, 2018, at 3:52 PM, Tai Bui wrote: > > Hi, > > What parts of 4D? > > On Windows, I opened 32-bit and 64-bit 4D v17 side by side and didn't see any > seemingly noticeable difference between the two in terms of 4D's UI, the > method editor, and a simple text variable object on a detail form. > > I did notice that the font on the Welcome Wizard was a bit different though. > > Best Regards, > -Tai B. > > > > > Tai Bui > Technical Services Engineer > > 4D Inc > 95 S. Market Street, Suite #240 > San Jose,CA 95113 > United States > > Telephone: +1-408-557-4600 > Fax: +1-408-271-5080 > Email: t...@4d.com > Web: www.4d.com > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Jeffrey Kain > via 4D_Tech > Sent: Wednesday, June 06, 2018 11:16 AM > To: 4D iNug Technical > Cc: Jeffrey Kain > Subject: 4D 64-bit font darkness > > Has anyone noticed that 4D 64-bit has a much lighter font stroke than the > 32-bit version? > > Is this normal? > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Flexible SVG ID Strategy
Hi John, I understand there are cases where you might build an SVG interface using 4D commands instead of using javascript in a web area. But when you want to do drag and drop, that is probably the use case that will most benefit from using javascript. You can use a parent/child technique that works so well in js. Your IDs can just be auto assigned and can relate to the IDs of your associated 4D data. Tom DeMeo ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
RE: 4D 64-bit font darkness
Hi, What parts of 4D? On Windows, I opened 32-bit and 64-bit 4D v17 side by side and didn't see any seemingly noticeable difference between the two in terms of 4D's UI, the method editor, and a simple text variable object on a detail form. I did notice that the font on the Welcome Wizard was a bit different though. Best Regards, -Tai B. -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Jeffrey Kain via 4D_Tech Sent: Wednesday, June 06, 2018 11:16 AM To: 4D iNug Technical Cc: Jeffrey Kain Subject: 4D 64-bit font darkness Has anyone noticed that 4D 64-bit has a much lighter font stroke than the 32-bit version? Is this normal? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: How does one detect that Cookies are disabled?
Jim, Dani Beaubien posted a link to a StachExchange thread that included the following javascript… if (navigator.cookieEnabled) {document.write("Cookies Enabled"); } else {documentwrite("Oops Cookies Not Enabled"); } I tried navigator.cookieEnabled in my test Xojo web app and it works perfectly. No reason it should not work anywhere you can execute javascript 4D or otherwise. Thanks to Dani, I hope this helps. John John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Jun 5, 2018, at 6:28 PM, Jim Labos - infobase via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Thanks to all that replied. I learned a lot here. It forced me to understand > the process and sequence of events that goes into creating, reading and > deleting Cookies. > > Cheers > > > > > > - > Jim Labos - infobase > -- > Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
4D 64-bit font darkness
Has anyone noticed that 4D 64-bit has a much lighter font stroke than the 32-bit version? Is this normal? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: High Sierra - Export Text in 4D v13.6
Have you looked at "Design -> Database Settings -> Database -> Temporary Folder Location”? Is the "Temporary File Location" set to the “Resources” folder? > On Jun 5, 2018, at 4:37 PM, setar accnt via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > there is a .temp file with a long filename > (“07B29AA87F90481387491D4EEF206BB6.temp”) ALSO created in that Resource > folder. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: High Sierra - Export Text in 4D v13.6
setar accnt: > Came across a weird behavior and want to know if anyone else has encountered > this and how to solve this (mac & V13.6 & v15) > I use a document (“StoreHere.txt") in the Resources folder to store some data > in it, to be used later. > > After using the command Export Text, the document is ‘updated’ allright BUT > there is a .temp file with a long filename > (“07B29AA87F90481387491D4EEF206BB6.temp”) ALSO created in that Resource > folder. > > But this is not wanted because every time the export is performed a new file > with long name is created !! > > It does this ONLY with High Sierra (10.13.4), none of the previous mac os X > has this (I tested this). > (fyi: 4D v15 & up do not exhibit this behavior with os 10.13.4 ) > > Have a test db V13.6 with 1 table and 1 or 2 fields (doesn’t matter how many) > and 2 or more records. > I use one LongInt and one Text field. > > then make a method that I can call using a button on the layout. > > this is the method: > C_TEXT($sDocName) > > $sDocName:=Get 4D folder(Current Resources folder)+"StoreHere.txt” Might have to do with how High Sierra is putting Apps in a sandbox if they are not in the Applications directory. I had something similar happen a while ago. I don´t remember the details but if you download 4D in a directory that belongs to a "normal" user you can start it like before, but the OS is putting it in a sandbox directory with a random name like 07B29AA87F90481387491D4EEF206BB6. So if you use commands like Get 4D folder it does not return the folder where you THINK that 4D is located but the name of the random sandbox folder. If you move 4D into the application folder you are asked to authorize with your admin password and the OS removes that quarantine-bit (or whatever it uses to mark the app). So from then on everything works as expected even when you the copy 4D from the applications folder to any other place. As I said, my memory is a bit vague but I think your problem might be connected to this behavior of macOS. Greetings from Germany, Bernd Fröhlich ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **