help with finder script

Does anyone know a script for opening a folder in a new finder window in column view?

I have a script that opens a smb share in a new window, but it always opens in icon view. I want my script to open it and then change the view to column view. I tried the following with no luck;


tell application "Finder"
        mount volume "smb://WORKGROUP;username:password@target/folder" in column view
end tell

Any ideas?

Thanks.
SA
:smiley:

Something like this might work.

set folder_ to "folder name" --<-- your folder name here

mount volume "smb://WORKGROUP;username:password@target/" & folder_
tell application "Finder"
	open alias folder_
	set current view of window folder_ to column view
end tell