Hi,
You can save the file anywhere. I chose to save it to applications,
since its a app.
Just open the app with command+O, or command+down arrow.
But the reason I needed this script to be in the app format is to add it
to the logg on apps in the system prefs/users....
That way the drive is automatically mounted when the Mac boots.
Another good use for the app is to put it on the desktop for easy and
quick way of mounting the drive when you need it.
Mabey someone can correct me if I'm wrong, but I believe the smb on the
beginning of the IP address is needed when connecting to a windows
machine or network storage drive.
After you paste the text of the script into the apple script editor,
go to the file menu then to export.
here you can name the script and choose the format to be .app.
If you need more help. let me know.
I'm writing this message in a hurry. but I hope this gets you started.
Thanks, Rob
On 2/15/2015 3:41 AM, Andrew Lamanche wrote:
Hi Rob,
Thanks very much for posting the script. Could you tell us where to
save the exported script as application? And how does one activate it?
These are possibly very uninformed questions :).
Andrew
On 15 Feb 2015, at 04:56, Robert Cole <mr.robertc...@icloud.com
<mailto:mr.robertc...@icloud.com>> wrote:
Hi,
Here is a apple script to mount a network drive.
using the script editor, export as app instead of script.
tell application "Finder"
try
mount volume "smb://193.169.0.6"
end try
end tell
replace the IP address with the IP of your drive.
Thanks,
Rob
Sent from my MacBook
On Feb 13, 2015, at 8:25 PM, Barry Hadder <bhad...@gmail.com
<mailto:bhad...@gmail.com>> wrote:
Yeah I see that now.
Another option is to create an automator work flow and save it as an
app.
The work flow will only have get specified server and connect to
server in that order. In the get specified server, just enter the
server url.
Then save it as an app. I’ve tried it and it connects and mounts at
login without the finder window opening.
There is another way as well which involves editing the /etc/fstab
file, but I’m not sure off the top of my head how to create an entry
for a network drive.
I should add that if you want to try to go that root, you only edit
fstab using vifs.
And, there is yet another way using launchctl, but I’m not going to
try to tell you how to do that either it as I don’t actually have a
nas. I’m just using an ftp server for testing. You would want to
use something like mount_afp or mount_smbfs. You can look at the
man page and play around with it. The automator app is probably the
easiest option though.
On Feb 13, 2015, at 7:30 PM, Rob <mr.robertc...@icloud.com
<mailto:mr.robertc...@icloud.com>> wrote:
OK, I tried that but it still opens a finder window of the drive.
even when the hide checkbox was checked, so I deleted it.
I will try it again.
if it continues to open the finder window, do you have any more
suggestions?
On 2/13/2015 6:28 PM, Barry Hadder wrote:
To keep something from opening at startup, you need to check the
box in the hide column next to it in the startup apps table.
On Feb 13, 2015, at 5:37 PM, Rob <mr.robertc...@icloud.com
<mailto:mr.robertc...@icloud.com>> wrote:
Hi,
Can someone remind me
How to mount networked drive at startup?
I added it to user/log on apps, but that caused the drive to open
once the Mac booted.
I want the drive to show on the desktop, but not open.
Thanks,
Rob
--
You received this message because you are subscribed to the Google
Groups "MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to macvisionaries+unsubscr...@googlegroups.com
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To post to this group, send email to macvisionaries@googlegroups.com
<mailto:macvisionaries@googlegroups.com>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.
Barry Hadder
bhad...@gmail.com <mailto:bhad...@gmail.com>
--
You received this message because you are subscribed to the Google
Groups "MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to macvisionaries+unsubscr...@googlegroups.com
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To post to this group, send email to macvisionaries@googlegroups.com
<mailto:macvisionaries@googlegroups.com>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to macvisionaries+unsubscr...@googlegroups.com
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To post to this group, send email to macvisionaries@googlegroups.com
<mailto:macvisionaries@googlegroups.com>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to macvisionaries+unsubscr...@googlegroups.com
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To post to this group, send email to macvisionaries@googlegroups.com
<mailto:macvisionaries@googlegroups.com>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.