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

container window


  • Subject: container window
  • From: david <email@hidden>
  • Date: Wed, 01 Oct 2003 08:49:04 -0600

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.

Here's what I have working in os9 (I need to keep this one in 9).

--
set foldername to "jibberish"
if not (exists folder foldername of desktop) then
make folder at desktop with properties {name:foldername}
set preflightpath to (path to desktop as text) & foldername & ":" as alias
make folder at folder preflightpath with properties {name:"Customer"}
make folder at folder preflightpath with properties {name:"Working"}
else
display dialog "A folder by that name already exists." buttons {"Sorry"}
end if

--the following is the part I want to change--

open preflightpath
set view of container window 1 to name
set position of container window 1 to {711, 187}
close container window 1
open ((preflightpath as text) & "Working" & ":") as alias
set view of container window 1 to name
set position of container window 1 to {711, 187}
close container window 1
open ((preflightpath as text) & "Customer" & ":") as alias
set view of container window 1 to name
set position of container window 1 to {711, 187}
--

Any help would be appreciated.
_______________________________________________
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: container window
      • From: Walter Ian Kaye <email@hidden>
    • Re: container window
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Defaults access
  • Next by Date: Re: container window
  • Previous by thread: Re: Defaults access
  • Next by thread: Re: container window
  • Index(es):
    • Date
    • Thread