|
If you use AutoHotKey you should be able to create a quick script to place the current window wherever you want to without going to the trouble of creating an entire app. It wouldn't be auto, like your method, but it might be a lot less work.
|
|
|
|
|
I figured there's utilities to automate this sort of thing, but yeah, I very much would prefer to have it fully automated - I'd be willing to have an app dedicated to looking for that window every 10 seconds and reposition it, on its own, without any input from my self.
Of course I'm sure there'd be edge cases once I'd start using it, so that's where the benefit of writing my own would come in - to handle the weird scenarios another app's author might not have thought of.
|
|
|
|
|
AutoHotKey can easily do that. It can detect the presence of a specific application and then position and size it. You'd just have an infinite loop with a 10 second delay ans then a check for the specific application being active.
I've been using and AutoHotKey scrip for 15+ years to make all my editors and IDEs use WordStar control sequences. It detects which editor/IDE I'm using convert the WordStar controls I'm typing into the appropriate keystrokes for the editor I'm using.
|
|
|
|
|
|
Thanks for that - I'll look into it as soon as I have a chance.
|
|
|
|
|
Here are some c++ and c# apps that you can rework to your needs:
https://github.com/T800G/PIMphonyHelper
https://github.com/T800G/IEmaximizer
|
|
|
|
|
|
I used to do things like this back in olden times with the Win32 API, I assume it's still possible. IIRC, you basically need to find the handle of the window and then you can call functions to manipulate it.
|
|
|
|
|
I used to also, back in my C++ days, and on versions of Window that were a lot more permissive than it is today. I'm absolutely certain it's still the way to do it even nowadays, only, I have to figure out the "correct" way to safely get a window handle owned by a process that's unrelated to the one that's trying to obtain it.
Fortunately I've had some really good pointers throughout this thread. Now it's just a matter of finding the time to put all the pieces together.
|
|
|
|
|
With Win16/3.x, I would write programs to export data out of private memory of other programs. That was fun!
Okay, I HAD to do it because their export function did not work if the resulting export was bigger than 16k. You would end up with a garbage file of the correct length where the data looped over itself in the first 16K.
The developer used a “far” pointer when they should have used a “huge” pointer that could span more than 16k.
Those were the days (before COM) when DDE ruled.
|
|
|
|
|
... whether I should go there to the toilet, or at the station.

|
|
|
|
|
So, months ago Microsoft decided to update my wife's laptop with Windows 11. All seemed to be well until she decided to try Audacity (Free, open source, cross-platform audio software). Won't work - really weird error messages, etc. Works fine on Windows 10 (of course).
So, being the IT guy in the house, I told her to just go back to Windows 10.
Elephant!
Did you know that Windows 11 DELETES it's reversion path after a period of time? 10 days in fact? What elephanting retard came up with the idea of deleting a user's backup without telling them? I swear, you have to wonder what group of idiots came up with that one.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
You also have to ask yourself who installs a new OS without a good solid disk image backup before starting?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You might have a point - EXCEPT - you neglect to realize that with Windows 10, Microsoft been aggressively doing crap to users' machines without approval. I cite my previous rants on the previous set of idiots that deciding to forcibly reboot users' machines to update them.
I suppose I can go in and edit the registry to turn off some behavior, but most users? My wife came down one morning to find Windows 11 installed on her machine. AUTOMATICALLY.
Nah, going to stick with my "Microsoft developers are DICKS" characterization.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: Nah, going to stick with my "Microsoft developers are DICKS" characterization.
You mean, some project manager requested/approved this. The devs just do what they're told (and I'll imagine some have protested and warned about exactly your scenario).
Let's place attribution where it belongs. We're all devs here, and we know how these things work.
modified 30-Oct-22 12:21pm.
|
|
|
|
|
Okay, I can do that. What ever program manager decided this is a DICK.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Now we're talkin'
|
|
|
|
|
Oh they're not idiots, this is on purpose. The 10 days is only to cover their butts if anyone calls them on the 11 without consent policy. They can say well, they had 10 days to revert. Now why they wanted us on 10 so badly and now 11 should give us pause.
This was composed on windows 7.
|
|
|
|
|
Pinging here to talk about Audacity, I was using Audacity on Windows 10, and I am using it on Windows 11 as well. Works like a charm.
As an IT guy, if the software doesn't work on Windows 11: have you tried turning it off and on, again?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I just checked (I don't need Audacity often) and it's working on Win 11 for me as well - and that's V2.2.2, which is copyright 1999-2018, so probably 4 years out of date ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Update: the version I was running was the x86 version 2.2.2, so I installed the later 3.2.1 64 bit version.
It works fine as well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'll have to check what she installed.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Agreed, same for me.
Due to a "very interesting" legal step by Audacity's parent company with version 3 onwards, I have to (often) use both versions, and they both work fine on Windows 11.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
just get the iso? from net?
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Audacity works fine on Windows 11 for me. What problem(s) is she having?
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|