• 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: Creating a new folder in the Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a new folder in the Finder


  • Subject: Re: Creating a new folder in the Finder
  • From: Andreas Schumacher <email@hidden>
  • Date: Thu, 13 Dec 2007 12:52:20 +0100


Am 04.11.2007 um 21:00 schrieb email@hidden:

set fp to path to home folder
tell application "Finder"
if not (exists Finder window 1) then
tell (make new Finder window) to set ¬
{target, toolbar visible, statusbar visible, current view} ¬
to {fp, false, false, list view}
end if
end tell
-- <cut> --

and does what you're asking but it's a bug workaround because -

-- <script> --
make new finder window with properties {toolbar visible: false,statusbar visible: false,current view: list view,target: fp}
-- </script> --

still doesn't work.

But:

tell application "Finder"
make new Finder window to fp with properties {toolbar visible:true, statusbar visible:false, current view:list view}
end tell

does work.

Andreas
 _______________________________________________
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

  • Prev by Date: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
  • Next by Date: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
  • Previous by thread: Re: AppleScript-Users Digest, Vol 4, Issue 639
  • Next by thread: Cookies in Safari
  • Index(es):
    • Date
    • Thread