Summary I’m regularly downloading a couple of files. Not to slowdown my 4DOffice.app I start a process and send this process a list of URLs to be downloaded, and might add to this list further URLs while that process is still running. Lots of code to ensure the communication. These days I tried a WORKER-process […]
Convert value
Summary Every now and then I need to deliver a value. Something like this: $myText:=$myOtherText. Sometimes those datatypes might be different like this: $myText:=$myDate. Not really a problem, make that date a string. Probably test first, if a pointer is not Nil and which kind of datatype the object is besides following my naming convention. […]
Okt.-Werkstatt mit Thomas Maul
4Dmethod veranstaltete Ende August einen Google-Hangout mit Thomas Maul: August 31st Meeting – Messaging with 4D v16 Hier die Aufzeichnung auf YouTube zum – unbedingt – vorweg ansehen und überdenken, was die Neuerung der V16 für die eigene Anwendung bedeuten. Für unsere Herbst-Werkstatt.nord am 19. Oktober, konnte ich Thomas Maul gewinnen, uns unsere Fragen zum Themenkomplex V16 CALL […]
Parse textfiles
Summary Sometimes, importing hundreds of files with millions of lines of text, will take too much time. Maybe the parsing-technique could be enhanced to make that faster. Here is my code, that I do put into a compiled component, to achieve a faster text-parse, even while developing. If this code is faster than yours; I’d […]
MacBook Air 11″ (Mitte 2011) Verkauft!
Summary MacBook Air 11″ in mint-condition for sale. Mid 2011, 1.8 GHz i7, 4GB, 128 GB SSD. Delivered with most current macOS, starting as new, in original packaging. Leider passen die 4D-Einstellungen nicht auf den 11″ Bildschirm. Sie sind zu hoch. Unser MacBook Air 11″ steht zum Verkauf. Ausstattung 1,8 GHz i7 4 GB 1333 MHz […]
Messing up with attributes
Summary While we had the productivity plugins we also had a helpful API. Take 4D Write as example. When I want to get or set the document-info, there was one command WR GET/SET DOCUMENT INFO ( area ; title ; subject ; author ; company ; notes ; creationDate ; creationTime ; modifDate ; modifTime […]
Auto-update 4D-app
Summary Keisuke Miyako: Example of automated upgrade of 4D, using curl (FTP), zip, unzip More details at 4Dforum for our convenience repeated here: „build“ phase. before you start you must do the following: 1. put a copy of „4D Volume Desktop“ inside „Engines“ in the database folder 2. put copies of your „4DDP“ and „4UUD“ […]
[4D forms] Resizing options
Summary 4Ds forms-editor very much still resembles an early vectordrawing-app, a metaphor that MacDraw introduced 3 decades ago. Sometime during the evolution the forms-editor was enhanced by growing/moving-options for form-elements. Very welcome then, very basic today. There is a „Group and Symbol Resizing“-presentation for Sketch 39, which describes what’s missing in 4Ds growing/moving-options for form-elements […]
The Floating Piers-movement #shot on iPhone
Summary As Christo supposed, walking barefoot and feeling the movement of the water underneath is the experience to be gained. How to capture that, to show to those who couldn’t travel to Lago Iseo? Make a time-lapse with my iPhone. Christo empfahl, barfuß über die Piers zu laufen und die Bewegungen des Wassers unter den […]
Mixing SVG-images
Summary 4D introduced SVG with V11, which was in 2007. Long ago. Still SVG didn’t get a stronghold in the 4D community. Partly it’s really confusing, what SVG actually is, besides an XML-tree to represent a drawing. The confusion gets even worse concerning 4Ds mixing and matching techniques to work with SVG. I’ve described that […]