That sounds like a good, useful plan.

On 5/12/2018 8:55 AM, chris burke wrote:
~config/winpos.dat is used by Jqt to remember the positions of some
windows. It could be used for wd forms as well.

We need to agree on how it should work.

Right now we have wd 'pmove x y w h' to set the position. Perhaps we have a
new command 'pmoves' (move and save) so that

   wd 'pmoves'
or
   wd 'pmoves x y w h'

moves to the saved position for its form id (if any), and the position
would be remembered when the form is closed. If there is no saved position,
the x y w h argument is used if given.


On Fri, May 11, 2018 at 9:11 PM, Ian Clark <[email protected]> wrote:

Over 99% of my computer usage must be on windows pre-defined for me by
other people's software.

But I develop a lot of utilities – and when that happens, I am (for a
while) the only user in the world of my novel utility. Is that too small an
audience to address?

I respectfully suggest that if we restrict attention to J users creating
utilities on an iMac making use of wd (windows driver) – in itself a tiny
proportion of computer users, then there is a substantial demand for a
position-remembering feature. At least for those who get bored of dragging
the window from the centre of the screen to its usual place every time they
make it appear.

But if I'm wrong and it's only me that has a requirement for it (…and maybe
I am, because I can't recall anyone else proposing it) then I shall
continue to use my own homebrew solution.

I wouldn't have posted, only I spotted ~config/winpos.dat and conjectured
that something or other must be using it (it gets updated daily). I'm not
sure what (…the jqt Term and Edit windows maybe?) but it looks as if it's
designed to support a generic facility.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to