Re: [Factor-talk] Window Position
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:29 AM, Alexander Ilin wrote: > 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. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data > untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Window Position
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 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:29 AM, Alexander Ilinwrote: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. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Window Position
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 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 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:29 AM, Alexander Ilin wrote: >> 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. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Window Position
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, 01:19, "John Benediktsson" : The worlds are stored in the `ui-windows` variable, I believe as the values.On May 18, 2016, at 3:00 PM, Alexander Ilinwrote: 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 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:29 AM, Alexander Ilin wrote: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. Employees whobring their own devices (BYOD) to work are irked by the imposition of MDMrestrictions. Mobile Device Manager Plus allows you to control only theapps on BYO-devices by containerizing them, leaving personal data untouched!https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___Factor-talk mailing listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk,--Mobile security can be enabling, not merely restricting. Employees whobring their own devices (BYOD) to work are irked by the imposition of MDMrestrictions. Mobile Device Manager Plus allows you to control only theapps on BYO-devices by containerizing them, leaving personal data untouched!https://ad.doubleclick.net/ddm/clk/304595813;131938128;j,___Factor-talk mailing listFactor-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/factor-talk ---=---Александр -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Window Position
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 downside might be if you change the object being stored your old files might not be compatible, but I would think thats not so much an issue here. On Thu, May 19, 2016 at 4:53 AM, Alexander Ilin wrote: > 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, 01:19, "John Benediktsson" : > > > 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 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 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:29 AM, Alexander Ilin wrote: > > 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. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data > untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > , > > > -- > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data > untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > , > > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > > > ---=--- > Александр > > > > -- > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data > untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Window Position
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-cache-directory ( quot -- ) The cache-directory seems to be a good place to store those configuration files I want. 19.05.2016, 14:54, "Alexander Ilin" :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. ---=---Александр -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk