Re: Opening Finder windows in a dual monitor setup
Re: Opening Finder windows in a dual monitor setup
- Subject: Re: Opening Finder windows in a dual monitor setup
- From: Adam Bell <email@hidden>
- Date: Thu, 29 Dec 2005 20:36:15 -0400
Tim; the second monitor will only be negative if the first (with the
menu bar) is on the right. If it is on the left, then the second will
have its origin (in your case of equal monitors) at 1100, 0.
Adam
On 12/29/05, Tim <email@hidden> wrote:
> Hi all,
>
> I'd like to thank everyone for their suggestions regarding my question
> with finder windows and dual monitors. I now have a script that works
> well, I wanted to post it, hopefully someone else can get some mileage
> out of it too:
>
> This will create 4 windows, 2 in each monitor, stacked on top of each other.
>
> property monitor_width : 1100
> property monitor_height : 800
>
> 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
>
> -- 1st value - 25 sets the left alignment of screen - brings window
> in by '25' from the left
> -- 2nd value (you can use an equation like -> monitor_height * 0.66
> or just set a value manually) sets the height position for the window
> relative to the screen
> -- div number also effects the height postion for the window relative
> to the screen -- use it to fine tune height position for each window
> -- 3rd value monitor_width sets the actual width of the window - this
> can be set manually if need be or use width of monitor screen
> -- 4th value monitor_height sets the actual height of the window -
> this can be set manually if need be or use height of monitor screen
>
> -- 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 {25, (528) div 1.15, monitor_width, 755}
> 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 {25, (142) div 1, monitor_width, 435}
> set the current view of this_window to column view
>
> -- For Second Monitor - Using negative numbers for second monitor -
> which is not the primary display
> -- 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 {-1130, (528) div 1.15, -30, 755}
> 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 {-1130, (142) div 1, -30, 435}
> set the current view of this_window to column view
>
> end tell
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Some minds remain open long enough for a truth to both enter and leave
without processing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden