Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Apple script to connect to server
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Tri_X_Troll" data-source="post: 607527" data-attributes="member: 49559"><p>Ok, so we have a mac lab and need the students to be able to connect to the windows file server. No biggy I thought, I'll write an applescript that they can click on when they need to access the share........and it almost works.</p><p></p><p>Here's my script:</p><p></p><p>tell application "Finder"</p><p> try</p><p> mount volume "smb://IpAddressHere/fileserver/_building/hs%band"</p><p> end try</p><p>end tell</p><p></p><p></p><p></p><p>What is happening is that it is opening to the root of the share, not the folder that I want. Any hints?</p></blockquote><p></p>
[QUOTE="Tri_X_Troll, post: 607527, member: 49559"] Ok, so we have a mac lab and need the students to be able to connect to the windows file server. No biggy I thought, I'll write an applescript that they can click on when they need to access the share........and it almost works. Here's my script: tell application "Finder" try mount volume "smb://IpAddressHere/fileserver/_building/hs%band" end try end tell What is happening is that it is opening to the root of the share, not the folder that I want. Any hints? [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Apple script to connect to server
Top