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
macOS & iOS Developer Playground
macOS - Development and Darwin
Applescript will not run line pointing to network
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="kj0" data-source="post: 1401584" data-attributes="member: 103656"><p>Ok.. I don't think I'm going to be able to do it via installing directly from a share, but what if I was to have it copy and create a folder and drop the file locally? </p><p></p><p>[CODE]mount volume "smb://xx.xx.xxx.12/public/Printers"</p><p>tell application "Finder"</p><p> duplicate every file of "Printers" to folder "resources" of home</p><p>end tell[/code] </p><p></p><p>However, I continue to get a "Can't ever every file from Printers" Error - There's only 1 file in that folder.</p><p></p><p>This script does connect to that share though. I'm thinking if I can run this as a two part script?</p><p></p><p></p><p></p><p>Thanks.</p></blockquote><p></p>
[QUOTE="kj0, post: 1401584, member: 103656"] Ok.. I don't think I'm going to be able to do it via installing directly from a share, but what if I was to have it copy and create a folder and drop the file locally? [CODE]mount volume "smb://xx.xx.xxx.12/public/Printers" tell application "Finder" duplicate every file of "Printers" to folder "resources" of home end tell[/code] However, I continue to get a "Can't ever every file from Printers" Error - There's only 1 file in that folder. This script does connect to that share though. I'm thinking if I can run this as a two part script? Thanks. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Applescript will not run line pointing to network
Top