SMB is an application layer protocol that interacts through TCP port 445 in most deployments. In the 1990s, Microsoft upgraded the protocol, allowing Windows-based networks to create, alter, and delete shared files, printers, and serial ports. Using the shell script open smb://server/share will prompt the user for login credentials if they don't already have them saved in their keychain. The IBM-developed Server Message Block protocol is a networking protocol. Just customize the server/share name nested list at the top to customize which shares are available on which servers. Set shareChoice to item 1 of (choose from list shareList with title "Open Shared Volume")ĭo shell script "open smb://" & serverChoice & "/" & shareChoice Set shareList to item 2 of item i of serverShares From the Finder, simply choose Go > Connect to Server and choose your address as: smb:// (for faculty and staff) and smb://artemis. In one light, think of it as a souped-up Spotlight. Set server to item 1 of item i of serverShares LaunchBar offers universal access to everything on your Mac that can be indexed, searched, launched, viewed, or opened. Repeat with i from 1 to length of serverShares Set serverChoice to item 1 of (choose from list serverList with title "Open Shared Volume") Select Connect to server from the Go menu in the Finder, which will open a dialog which asks you to enter the URL (including protocol, such as nfs:, smb. If you cannot see it, then you have a connectivity problem with the sharing computer. Just open Windows Explorer and click on Network. Installing them seems to allow me to see the windows network which I can open and see my workgroup, but I cannot open the workgroup. Ive already installed the 'samba' and 'cifs-utils' packages and thier dependancies. I want to access my samba share with PCmanFM to upload and download files. Set the end of serverList to item 1 of servers 4 Answers Sorted by: 12 You should be seeing the share in the Network neighborhood and be able to use it from there. Lubuntu uses PCmanFM as its default file manager. So, both Apples Connect to Server code and the. Instead, you could provide them with pick lists.Ive had much more luck with PathFinders Samba than with the Finders, though. However, if your users are "simple" as you say, then you might not want them typing in server names and share names. Set share to text returned of (display dialog "Type the name of the share" with title "Open Share" default answer "installs")ĭo shell script "open smb://" & server & "/" & share So, to answer your question directly, you probably want something like the following: set server to text returned of (display dialog "Type the name of the server" with title "Open Share" default answer "10.0.10.50") Well, what you're asking for is display dialog and a bit of do shell script, which is detailed in the AppleScript Language Guide (PDF). Using the shell script open smb://server/share will prompt the user for login credentials if they don't already have them saved in their keychain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |