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


Click here to return to the 'some more mods....' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
some more mods....
Authored by: loren_ryter on Dec 23, '01 07:42:11PM

great idea... i changed the script slightly too so you can adjust the offsets (make space for iTunes, etc). paste a nice icon onto it!

Anyone know how to bring both windows to the front but NOT hide all other apps?

--begin--

property monitor_width : 975
property monitor_height : 700
property vOffset_top : 70
property vOffset_bottom : 10
property hOffset_top : 5
property hOffset_bottom : 5

set the startup_disk to (path to startup disk)
tell application "Finder"
activate
set visible of (every process whose visible is true and frontmost is false) to false
-- BOTTOM WINDOW
set this_window to make new Finder window
set the target of this_window to the startup_disk
set the bounds of this_window to {0 + hOffset_bottom, ((monitor_height * 0.55) div 1 + vOffset_bottom),
monitor_width, monitor_height}
set the current view of this_window to column view
--select this_window ; how can you bring to front?
-- TOP WINDOW
set this_window to make new Finder window
set the target of this_window to the startup_disk
set the bounds of this_window to {0 + hOffset_top, ((monitor_height * 0.06) div 1) + vOffset_top,
monitor_width, (monitor_height * 0.53) div 1}
set the current view of this_window to column view
--select this_window
end tell



[ Reply to This | # ]