• 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: make new folder behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make new folder behavior


  • Subject: Re: make new folder behavior
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 14 Sep 2008 10:23:03 -0500

On Sep 12, 2008, at 10:18 AM, I wrote:

In Leopard, if you make a new folder manually, its "View Options" window will always have the "Always open in ..." box (at the top) unchecked and the "... Defaults" button (at the bottom) inoperative. At least that's my experience.

I have an AppleScript application that uses the 'make new folder ...' command in various places and I've just noticed that when this command creates a new folder, the status of its "Always open in ..." box is inherited from the parent folder. This indicates that the status of "Always open in ..." can be read & set internally by the 'make new folder ...' command, but there is no way to read & set this status via AppleScript. (It's not in the Finder's dictionary.)

Anyone know more about what's going on here?

(I'm still waiting for "Always open in ..." and "... Defaults" to be removed from Leopard's View Options. They are useless and illogical.)

I've done some experimenting resulting in this script ...

tell application "Finder"
activate
try
set winRef to window 1
on error
beep
error number -128
end try
(target of winRef) as alias
make new folder at the result
-- set current view of (window of the result) to list view
end tell

Without the last line, the window is always created with "Always open in ..." unchecked.

If the last line is used (with list, icon or column), the window's "Always open in ..." box is checked.

My first guess was wrong. It now seems that 'set current view ...' includes checking the "Always open in ..." box.
(The "Defaults" button at the bottom of the View Options window is still inoperative and I don't yet know how to make it operative.)

Has anyone noticed more about this?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: make new folder behavior
      • From: Luther Fuller <email@hidden>
References: 
 >make new folder behavior (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Excel issues
  • Next by Date: Illustrator position of selection
  • Previous by thread: make new folder behavior
  • Next by thread: Re: make new folder behavior
  • Index(es):
    • Date
    • Thread