Thx Koen, I had a look myself at the 4DWRPRO object in the debugger and like you say, not much there that could be useful…
Regards, Rudy Mortier Two Way Communications bvba ----------------- > On 22 Aug 2017, at 15:22, Koen Van Hooreweghe via 4D_Tech > <[email protected]> wrote: > > Rudi, > > Probably not for the faint-hearted! But I think it is not possible to access > a 4D Write Pro object’s contents and you’re limited to the ST and WP commands. > > I did a quick test: > > C_OBJECT($wpObject) > C_TEXT($jsonText) > $wpObject:=WP New > ST SET TEXT($wpObject;"Hello World!") > TRACE > $jsonText:=JSON Stringify($wpObject) > SET TEXT TO PASTEBOARD($jsonText) > > If I look at the object in the debugger, I can only see the general settings, > not the actual content. > > This is what I get on the pasteboard: > { > "backgroundColor": 16777215, > "dateCreation": "2017-08-22T13:17:56.918Z", > "dateModified": "2017-08-22T13:17:56.918Z", > "title": "4D Write Pro New Document", > "version": 1.01 > } > > Not much to manipulate. > > Koen > > >> Op 22 aug. 2017, om 14:26 heeft Two Way Communications via 4D_Tech >> <[email protected]> het volgende geschreven: >> >> Would we be able to check the actual 4D Write PRO object and manipulate it? >> After all, it is a C_Object… > > > > -------------------- > Compass bvba > Koen Van Hooreweghe > Kloosterstraat 65 > 9910 Knesselare > Belgium > tel +32 495 511.653 > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

