I have my general preferences set to “open things in Tabs”, because it’s extremely convenient 80% of the time, but when I script Finder to open a new window I’d like to have it open a damn new window and not a tab…
@suzume You seem to be confusing System Preferences with Finder Preferences.
Try this:
tell application "Finder"
activate
set tabStatus to folders open in new tabs of Finder preferences
set folders open in new tabs of Finder preferences to false
open (path to documents folder)
set folders open in new tabs of Finder preferences to tabStatus
end tell
@emendelson Your Finder preferences must be set to open folders in window…
Thank you. That works. I was not confusing System Preferences and Finder Preferences. I was just wondering why there was not a way to directly access the function “New Finder Window” in AS.