• 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
Re: container window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: container window


  • Subject: Re: container window
  • From: Rob Jorgensen <email@hidden>
  • Date: Wed, 1 Oct 2003 16:07:17 -0400

At 12:17 PM -0700 10/1/03, Walter Ian Kaye wrote:
At 08:49a -0600 10/01/2003, david didst inscribe upon an electronic papyrus:

Is there a way to set the container window position and size without opening
it first?

I read that there is a folder window property, but can't seem to get at it.

If the window is not open, then it doesn't exist.
You cannot set properties of an item that doesn't exist.

The only *theoretical* alternative would be to modify the data on disk, but Finder keeps all that hidden. I don't know, maybe it's in a .plist somewhere, like com.apple.finder.preferences?

This works for me on OS X 10.2.8 even when the window isn't open.

set container_ to "path:to:container:"
tell application "Finder"
set position of container window of alias container_ to {100, 200}
end tell

-- Rob
_______________________________________________
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.

References: 
 >container window (From: david <email@hidden>)
 >Re: container window (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Re: resource i/o (was Re: chevrons)
  • Next by Date: Re: resource i/o (was Re: chevrons)
  • Previous by thread: Re: container window
  • Next by thread: Re: container window
  • Index(es):
    • Date
    • Thread