Re: "Choose folder" not working for NT server
Re: "Choose folder" not working for NT server
- Subject: Re: "Choose folder" not working for NT server
- From: Nigel Smith <email@hidden>
- Date: Tue, 10 Feb 2004 15:40:53 +0000
On 5/2/04 16:21, "Matthew Broms" <email@hidden> wrote:
>
I'm processing a folder of images, so I use the standard 'choose folder'
>
command to identify which folder the user wants to start with. If I choose
>
a folder in the open dialog box by clicking on the 'Network' icon on the
>
left and find my folder, which resides on an NT box (that's NOT running the
>
Appleshare service, so I guess it's SMB), it doesn't return an appropriate
>
path.
<snip the description...>
If you value your sanity *do not* browse for Network shares! Always connect
by typing in (or picking from a list) the address in the Finder's "Connect
to server..." menu item in the "Go" menu. That way the disk will mount in
the way you are used to, on the Desktop if you have your prefs set that way,
and will be in the sidebar of a OSX 10.3 window and in the top-level Finder
window (OSX 10.2's "Computer" view).
Makes it a lot easier to eject, navigate to and, in this case, get a path in
AppleScript.
Here's the result from "choose folder" to a folder on a local SMB server
connected to via browse:
alias "untitled:Users:confocal:Public:confocal:40xscale:"
Here's the result to the same folder when using
"smb://confocal_server/confocal/public/confocal" in the "Connect to
Server..." dialog:
alias "CONFOCAL:40xscale:"
Connect in that way and you should find your problems go away. And since you
are doing this in a script, you can mount the volume with:
mount volume "smb://server_name/share_point"
See previous posts of the list if you want to include domain, user and
password information in the "mount volume" command.
HTH,
Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.