AppleScript的:添加安装文件夹,Finder边栏? [英] AppleScript: adding mounted folder to Finder Sidebar?

查看:252
本文介绍了AppleScript的:添加安装文件夹,Finder边栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的脚本苹果挂载文件夹:

I have a simple Apple Script that mounts a folder:

mount volume smb://machineip/folder

本上运行启动以来的Mac OS X 10.5.5没有像Windows映射驱动器的概念。该脚本不会走得太远,因为我想虽然。我得到IP添加到Finder边栏的机器,当我点击它,所有该计算机的共享文件夹的显示,包括上述的文件夹与小弹出图标。如何获取该文件夹下在Finder工具条设备使用苹果脚本出现。

This runs on start up since Mac OS X 10.5.5 doesn't have the concept of mapped drives like Windows. The script doesn't go as far as I'd like though. I get the machine IP added to Finder Sidebar and when I click it, all of the shared folders for that machine appear, including the above "folder" with the little eject icon. How do I get that folder to appear under "Devices" in Finder Sidebar using Apple Script.

有没有办法还通过Automator的?

Is there a way to also do this through the Automator?

推荐答案

您可能要考虑使用的fstab而不是安装脚本。 检查这里如何去了解这一点。如果您想对搜索的边栏上可用的安装文件夹,你可能只需拖动/卷/(名)文件夹到您的地方吧。

You might want to look into using the fstab instead of a mount script. Check here for how to go about this. If you want to have mounted folders available on the sidebar of Finder, you probably can just drag the /Volumes/(name) folder to your places bar.

这篇关于AppleScript的:添加安装文件夹,Finder边栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆