|
Ironic that you mention that, as I'm writing an app-launcher as an eventual article. Launch websites, apps (and files associated with apps) and explorer.
One of the things that drives me nuts is the default location of apps -- with my launcher, you can "easily" specify the default starting location, including overriding the location with simple quadrant selection of all your monitors.
That part, positioning the window, is a bear. Windows does not make it easy.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Marc Clifton wrote: That part, positioning the window, is a bear. Windows does not make it easy.
Oh, yeah, get the Desktop (OpenDesktop maybe?), iterate through the windows you find (EnumDesktopWindows), match the title text, then SetWindowPos.
Lots of API calls in there.
|
|
|
|
|
raddevus wrote: Lots of API calls in there.
It's not quite that simple. Applications like Visual Studio add their brand to the window title, maybe also "(Administrator)", though of course matching a substring is trivial. The main problem is that apps like VS take forever to load, so what do you set an acceptable timeout to for "wait for the window to show up before moving it?"
Then there's the scenario where I might want two instances of the same explorer window open. The titles match exactly, but finding the correct window handle is a bear that I haven't successfully wrestled to the ground yet.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Marc Clifton wrote: Then there's the scenario where I might want two instances of the same explorer window open. Just add a "Wrong one, you jerk!" button, at the end of the bar.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Marc Clifton wrote: It's not quite that simple.
I didn't think so. I was actually meaning that you have to go a bit low-level to do the work.
And as you said...
Marc Clifton wrote: The titles match exactly, but finding the correct window handle is a bear that I haven't successfully wrestled to the ground yet.
I've worked with this also and I found it a bear too. It feels quite odd that the final way to get the correct window is by comparing title text. Seems crazy, like there would have to be a better way.
Good luck!
|
|
|
|
|
Sounds cool...can you hurry up ?
|
|
|
|
|
Kyudos wrote: Sounds cool...can you hurry up ?
Well, it is in my public repo if you want to see what I'm up to. Very unpolished though!
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I’ve been using RocketDock since Win7.
|
|
|
|
|
Thanks, I had a look but I don't like it much - unnecessarily flashy and doesn't reduce the desktop size properly
|
|
|
|
|
|
Have you looked at Rainmeter, I know there are some using it as an app launcher. It is a wonderful app and you can customize it endlessly (benefit and drawback). Also it has a large community writing skins for it.
|
|
|
|
|
I use Classic Shell.
It can be configured to look like a Win7 start menu. It allows access to the kiddy blox menu if you need it, handles Win+X menus too and it seems to be very stable.
Best of all, its FREE!!!
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
|
I have a decent hi-fi system in my office, but recently the tuner has been giving trouble. Occasionally, for no apparent reason, the left channel on a stereo broadcast just cuts out. As I only listen to one station, and just for background music at that, I decided to stick a one input, two output (or vice versa) stereo RCA switch into the link from the tuner to the preamp so the when the left channel dies I can just flip the switch and feed both channels of the preamp with the signal from the right channel of the tuner.
I got out the switch and my bits-box of hi-fi connectors to set about it. I found a selection Y (pairing) junctions and a bunch of gender-benders - and then sat there for twenty minutes fiddling with the stuff like a brain-dead dumbphuque trying to figure how to do it.
I did find a solution after about twenty minutes, but what would your solution be - it's almost certainly going to be better than mine!
|
|
|
|
|
Open the tuner and check the solder joints. Intermittent problems are often something getting hot and failing, or causing a bad joint to fail. When it all cools, it works again.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I've had the lid off a couple of times, and re-seated all the (many) connectors and used a contact cleaner on them. As it was a top-of-the-line job when I bought it, I would be surprised if it were a solder joint - in any event, there are literally hundreds of joints on the main board and they all look good.
I suspect the problem will go away after a while, because it was sat in a cupboard for ten years as there were no FM stations worth listening to, but there is now a classical music and jazz station which I found by accident on my car radio. The periods between failure are getting longer, and usually now a few seconds off fixes it. I suspect it may be a dodgy electrolytic, but there are a lot of them to check!
Anyway, where's your wiring diagram?
|
|
|
|
|
Wiring diagrams are for pussies!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Real engineers don't read manuals. (And before anyone jumps in, yes they can read )
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Chris C-B wrote: but what would your solution be
Buy a new hi-fi? Or if your station does a webcast, hook up some speakers to your computer or mobile device?
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Here was I hoping for some nice elegant solution to replace my spaghetti nest of wires, and all I get.
Bah humbug!
Actually, I can stream the same content from the web, but it is heavily compressed and sounds like it's coming from under a thick blanket. Anyway, hooking up some speakers isn't going to hack it. I've got a pair of Mark-Levinsons bi-amped to a pair of six foot hybrid/ribbon speakers, so putting anything through the PC, even with its Bang and Olufsen sound system, makes everything sound distinctly muddy. Turgid, even.
|
|
|
|
|
Chris C-B wrote: I have a decent hi-fi system
Reading your answer below, stating that it's consisting of a couple of Mark Levinson and some ribbon-speakers, I call that the understatement of the year. Bordering on Bullshit!
My question: With that equipment, why do you bother listening to the radio?
As there are no PCI soundcards having a decent sound quality I would get a phone with a decent DAC and load it up with flac files.
Yes there's at least one. LG G7 for example has an ESS ES9218P QUAD DAC[^]
There's a cheapo version out now with the same sound chip: LG G7 Fit, for half the price having last years processor and half the memory, which doesn't matter since it has a memory slot.
|
|
|
|
|
Jörgen Andersson wrote: Reading your answer below, stating that it's consisting of a couple of Mark Levinson and some ribbon-speakers, I call that the understatement of the year. Bordering on Bullshit!
Yeah, well, I like to be a bit modest about these things.
Jörgen Andersson wrote: My question: With that equipment, why do you bother listening to the radio?
The particular station I listen to is genuine 'broadcast quality', and is generally as good as CD. It is part of the national broadcasting setup, and has very good equipment. I like to listen to it as it can introduce me to classical music that I am not familiar with, without having to take a punt on a CD that I then decide I don't like.
Jörgen Andersson wrote: As there are no PCI soundcards having a decent sound quality I would get a phone with a decent DAC and load it up with flac files.
Yes there's at least one. LG G7 for example has an ESS ES9218P QUAD DAC[^]
There's a cheapo version out now with the same sound chip: LG G7 Fit, for half the price having last years processor and half the memory, which doesn't matter since it has a memory slot.
I am currently in the process of replacing all the MP3s I have with FLAC, and a decent 'phone is definitely on my shopping list, so thanks for that tip - I'll check it out. I shall keep the USB stick I use in my car full of MP3s, as in a beat-up old 4x4 with off-road tyres, the ambient noise is enough to make anything better an exercise in futility!
|
|
|
|
|
If it's an apple hi-fi, the answer is obvious.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Robert Laurence Binyon (1869-1943): With proud thanksgiving, a mother for her children,
England mourns for her dead across the sea.
Flesh of her flesh they were, spirit of her spirit,
Fallen in the cause of the free.
Solemn the drums thrill: Death august and royal
Sings sorrow up into immortal spheres.
There is music in the midst of desolation
And a glory that shines upon our tears.
They went with songs to the battle, they were young,
Straight of limb, true of eye, steady and aglow.
They were staunch to the end against odds uncounted,
They fell with their faces to the foe.
They shall grow not old, as we that are left grow old:
Age shall not weary them, nor the years condemn.
At the going down of the sun and in the morning
We will remember them.
They mingle not with their laughing comrades again;
They sit no more at familiar tables of home;
They have no lot in our labour of the day-time;
They sleep beyond England's foam.
But where our desires are and our hopes profound,
Felt as a well-spring that is hidden from sight,
To the innermost heart of their own land they are known
As the stars are known to the Night;
As the stars that shall be bright when we are dust,
Moving in marches upon the heavenly plain,
As the stars that are starry in the time of our darkness,
To the end, to the end, they remain.
Not just England, but all sides, all countries.
100 years on, and none are left that fought and survived.
That's no good reason to forget the horrific sacrifices made so that our modern world could exist.
We salute you, because that is all we can do.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|