Re: Curses! How to make new window in OSX Finder?
Re: Curses! How to make new window in OSX Finder?
- Subject: Re: Curses! How to make new window in OSX Finder?
- From: Craig Sutherland <email@hidden>
- Date: Mon, 11 Mar 2002 09:50:02 -0600
Charles-
There is a script on the Apple.com/Applescript/macosx/toolbar_scripts/
page that will do this. There are others for different Finder Window
management results.
The script verbatim for Apple is:
property monitor_width : 1024
property monitor_height : 768
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, (monitor_height * 0.66) div 1,
monitor_width, monitor_height}
set the current view of this_window to column view
-- 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, (monitor_height * 0.33) div 1,
monitor_width, (monitor_height * 0.66) div 1}
set the current view of this_window to column view
end tell
Take a look at the other examples. They have been invaluable for me.
HTH
Craig
On Monday, March 11, 2002, at 08:30 AM, Charles Arthur wrote:
>
A neat way of navigating and moving files around in OSX is (well, can
>
be)
>
to have two windows stretched horizontally across the screen in column
>
view; this lets you dig deep *and* wide.
>
>
So I thought I'd quickly hack a script to set those two windows up.
>
A little while later I gave up. And of course the X Finder isn't
>
recordable
>
now, so I couldn't even watch it at work.
>
>
I had tried:
>
tell application "Finder"
>
make new window with properties {bounds:43,..... view:column view}
>
end tell
>
>
--> can't make new window
>
Sapristi!!!
>
>
tell application "Finder"
>
make window ...
>
end tell
>
>
--> (oh, some other error thing.)
>
>
Clues, please.
>
>
Charles
>
>
----------------------------
>
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
>
walls - searchable by distance and anything else you care to think of -
>
with weather forecasts for every one, plus maps, articles, news and
>
features. And there's even a cool shop attached.
>
>
>
>
________________________________________________________________________
>
This email has been scanned for all viruses by the MessageLabs SkyScan
>
service. For more information on a proactive anti-virus service working
>
around the clock, around the globe, visit http://www.messagelabs.com
>
________________________________________________________________________
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.