• 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: Opening a folder is AS vrs double clicking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening a folder is AS vrs double clicking


  • Subject: Re: Opening a folder is AS vrs double clicking
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 13 Nov 2009 08:03:19 -0600

On Nov 13, 2009, at 7:45 AM, Jim Brandt wrote:
property f_Location : "HD1:Misc:"
set nf_bounds to {575, 215, 1200, 600} -- bounds for making a new folder
set folder_name to "x"
tell application "Finder"
activate
set new_folder to make new folder at folder f_Location with properties {name:folder_name, bounds:nf_bounds, toolbar visible:false, sidebar width:0}
set current view of new_folder's container window to list view
open new_folder
end tell

The first thing to try is to remove 'bounds', 'toolbar' and 'sidebar' from the 'make new ...'.

make new folder at folder f_Location with properties {name:folder_name}
set new_folder to the result as alias
open window of new_folder
set winRef to window of new_folder
set toolbar visible of winRef to false
set bounds of winRef to nf_bounds
-- you don't need 'sidebar' since it's not visible.

Did I get this right? If not, I'll look up an old script.

 _______________________________________________
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

References: 
 >Opening a folder is AS vrs double clicking (From: Jim Brandt <email@hidden>)

  • Prev by Date: Opening a folder is AS vrs double clicking
  • Next by Date: Re: Opening a folder is AS vrs double clicking
  • Previous by thread: Opening a folder is AS vrs double clicking
  • Next by thread: Re: Opening a folder is AS vrs double clicking
  • Index(es):
    • Date
    • Thread