• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
setting window bounds/position of folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting window bounds/position of folder


  • Subject: setting window bounds/position of folder
  • From: "Bhanja, Sanjeeb" <email@hidden>
  • Date: Thu, 19 Jun 2003 21:48:33 +0530

I'm trying to set the size/positon of a given folder

following is my code which records the position of window of a folder
and tries to set that location to another folder window so that both have
same window position/bounds.

But it does not set the height of both the windows equally.

Please run this script to understand my problem.
Any solution or suggestion is most welcome.

**************************************************************
tell application "Finder"
set F1 to "10.2.1:Users:ibook:Desktop:TestFolder:F:F1"
set F2 to "10.2.1:Users:ibook:Desktop:TestFolder:F:F2"
set {l, t, r, b} to (get bounds of window of folder F1)
set bounds of window of folder F2 to {l, t, r, b}
open container window of folder F1
open container window of folder F2
end tell

**************************************************************


Regds,
Sanjeeb.
_______________________________________________
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.

  • Follow-Ups:
    • Re: setting window bounds/position of folder
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: mount volume command
  • Next by Date: Scripting a VPN connection in Jaguar...
  • Previous by thread: [ANN] 24U released version 1.1 of 24U Hex OSAX
  • Next by thread: Re: setting window bounds/position of folder
  • Index(es):
    • Date
    • Thread