Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'CPU Monitor' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CPU Monitor
Authored by: cmccarthy on Jul 17, '01 01:41:50PM
Actually, I believe a similar procedure may work for maintaining window location in CPU Monitor. Again, this is probably not the best way to go about it, but it should work. First, launch CPU Monitor, position the window where you'd like it, and quit the program. Then, in Terminal, type the following:
defaults read com.apple.CPUMonitor
Look for the following keys in the output:
"NSWindow Frame CPUWindowFrame"
and
"NSWindow Frame ExpandedWindowFrame"
The first two numbers in each value seem to be X and Y coordinates for initial window position, starting from the bottom left of the screen. The current values should correspond to the preferred window position in which you last left CPU Monitor, so adding a similar line like mine to ./.tcshrc of the following form should work:
defaults write com.apple.CPUMonitor "NSWindow Frame CPUWindowFrame" "numbers-of-preferred-position-here"
Also, some of the other values in the defaults output for com.apple.CPUMonitor should correspond to the expanded/nonexpanded state of the window on launch, so that might take care of your other problem, too.

[ Reply to This | # ]