- Jul
- 533
- 10
I have a pesky window (winamp's album art plugin) that tends to move "on it's own" far too often due to some weird glitchiness that no human being will likely ever solve.
So I use the activate command to put the window in the right place.
But there seems to be a bug in the activate command.
The absolute coordinates... are not absolute.
I've ended up alternating between two sets of absolute coordinates.
And then today, neither set puts it in the right place. Correct monitor, but wrong position on monitor.
so at different points in time, all 3 of these commands have had the exact same effect:
activate "album art" pos=1430,-800,410,410
activate "album art" pos=1926,-660,410,410
activate "album art" pos=1030,-800,410,410
But right now, none of those commands puts it in the right place. I just had to figure out new numbers. They were:
activate "album art" pos=1754,-798,410,410
Why, and how, can this be happening? why would coordinates suddenly be off but only by a few hundred pixels? It's always on the right screen, just not always the right part of the screen
------------
p.s. my 4 screens are all 1920x1080.
p.p.s. it's not just the album art window that gets misplaced. I also use this to place the MiniLyrics [another winamp plugin of sorts, tho it runs as an independent EXE file unlike most winamp plugins] and the same problem happened today with MiniLyrics - correct monitor, wrong placement. Same offset too -- a couple inches to the left.
So I use the activate command to put the window in the right place.
But there seems to be a bug in the activate command.
The absolute coordinates... are not absolute.
I've ended up alternating between two sets of absolute coordinates.
And then today, neither set puts it in the right place. Correct monitor, but wrong position on monitor.
so at different points in time, all 3 of these commands have had the exact same effect:
activate "album art" pos=1430,-800,410,410
activate "album art" pos=1926,-660,410,410
activate "album art" pos=1030,-800,410,410
But right now, none of those commands puts it in the right place. I just had to figure out new numbers. They were:
activate "album art" pos=1754,-798,410,410
Why, and how, can this be happening? why would coordinates suddenly be off but only by a few hundred pixels? It's always on the right screen, just not always the right part of the screen
------------
p.s. my 4 screens are all 1920x1080.
p.p.s. it's not just the album art window that gets misplaced. I also use this to place the MiniLyrics [another winamp plugin of sorts, tho it runs as an independent EXE file unlike most winamp plugins] and the same problem happened today with MiniLyrics - correct monitor, wrong placement. Same offset too -- a couple inches to the left.