Hello! Answering a part of my question below. I've just stumbled upon the "Temporary files" help section with the following text: Pathnames relative to Factor's cache directory, used to store persistent intermediate files and resources: cache-file ( name -- path ) cache-directory ( -- path ) with-c
There are a lot of formats you can use, like the ``ini-file`` vocabulary
(or even ``msgpack``, ``txon``, ``yaml``, etc.), but a simpler way to get
it working might be to use the ``serialize`` vocabulary and just store and
load Factor objects using ``object>bytes`` and ``bytes>object``. One
downsid
Thank you, John! Is there a preferred way of automatically storing configuration files for Factor?I know about the .rc-files, but those seem to be user-editable rather than automatically overwritable. I need something more like traditional ini-files to store the pref-dims for the worlds. 19.05.2016
The worlds are stored in the `ui-windows` variable, I believe as the values.
> On May 18, 2016, at 3:00 PM, Alexander Ilin wrote:
>
> Hi, John!
>
> Is there a list of worlds I could iterate over?
> Or, if there is only one Listener, how do I get its gadget reference to call
> find-world for i
Hi, John! Is there a list of worlds I could iterate over?Or, if there is only one Listener, how do I get its gadget reference to call find-world for it? 16.05.2016, 19:14, "John Benediktsson" :Not that I'm aware of, but it wouldn't be that hard to use the ``window-loc`` property in ``world`` for ea
Not that I'm aware of, but it wouldn't be that hard to use the
``window-loc`` property in ``world`` for each window to save/restore at
appropriate points. You might run into difficulty with a key, although
using the ``title`` of the world would probably be good enough.
On Sun, May 15, 2016 at 1:2
Hello!
Is there a vocab for Factor Listener to retain its main window position
between runs? Store it in a config file or something?
---=---
Александр
--
Mobile security can be enabling, not merely restricting. E