 |
 |
Here's a quick useful program someone could write
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jul 2001
Location: Sydney, Australia
Status:
Offline
|
|
Just playing around in Photoshop in classic, and realised how useless and annoying the dock is while your classic app is in the foreground. The apps don't know to move out of the way of it, and you get all sorts of visual glitches and just general annoyances. What would be really cool is if someone could write a quick app/daemon which automatically hid the dock while Classic was in the foreground, to have it return again once you switch to an OS X app. Sounds pretty simple. What do you OS X developers think?
qnxde
|

You can't eat all those hamburgers, you hear me you ridiculous man?
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2001
Location: Cambridge, MA
Status:
Offline
|
|
Great idea, actually.
I'd like to have this for both Classic and for rootless XDarwin/XFree86. Both ignore the dock, and neither really benefits from its presense, either.
Okay, so how does one programatically turn on and off Dock hiding? It should be possible -- the system preferences app seems to be able to tell the dock to show and hide itself in real time.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status:
Offline
|
|
While we're on it, I'd like an app that narrows the dock down but also makes it long..like the Windblows taskbar.
|
|
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
It's private functions in HIServices.framework
Frank Vercruesse reverse engineered them, they're like this:
extern Boolean CoreDockGetAutoHideEnabled( void );
extern void CoreDockSetAutoHideEnabled( Boolean );
I think that his project, ASM, might be able to do what you want already... http://asm.vercruesse.de/
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2001
Location: Cambridge, MA
Status:
Offline
|
|
Originally posted by Angus_D:
<STRONG>I think that his project, ASM, might be able to do what you want already... http://asm.vercruesse.de/</STRONG>
Very cool. ASM does exactly what I want for XDarwin. Thanks for the tip!
Now to find a way to get it to disable the dock for ALL classic apps -- it seems only to work on specific apps.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jul 2001
Location: Sydney, Australia
Status:
Offline
|
|
Hmm, I can't get the No Dock item to enable in ASM. It's always ghosted. Any help?
|

You can't eat all those hamburgers, you hear me you ridiculous man?
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
A better idea, though certainly more difficult to write, would be to write an Extension for Classic. This would, in theory, detect when the user was booted into OSX, and then patch Classic's zoom code to make it respect the Dock. That way, you get the best of both worlds.
Mind you, this is likely to be nontrivial, to say the least. Not necessarily impossible, but not at all easy. And maybe it really wouldn't be possible; I don't know. Anyone have any ideas on that?
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status:
Offline
|
|
I don't think you're going to get people to put that much effort into a classic extension at this point. :-)
|
|
All words are lies. Including these ones.
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: May 2001
Location: Walnut Creek, CA
Status:
Offline
|
|
Originally posted by Millennium:
<STRONG>A better idea, though certainly more difficult to write, would be to write an Extension for Classic. This would, in theory, detect when the user was booted into OSX, and then patch Classic's zoom code to make it respect the Dock. That way, you get the best of both worlds.
Mind you, this is likely to be nontrivial, to say the least. Not necessarily impossible, but not at all easy. And maybe it really wouldn't be possible; I don't know. Anyone have any ideas on that?</STRONG>
Would it be non-trivial? It seems like it should only be a few lines:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
if(runningInClassic)
{
zoomSize = sreenSize - dockSize;
}
</font>[/code]
Ok, so that's definately way over simplified, but I'm not sure it would be as hard as you think. Not that I know exactly how to do it or anything...
|
|
-Whisper
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|