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