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]
**********************************************************************