|
|
Applescript issue with Lion
|
|
|
|
Mac Elite
Join Date: Aug 2005
Location: Vancouver, BC
Status:
Offline
|
|
Ok, I'm sure this is a dead simple one for someone here. I have a single line script that keep in my login items to mount a network share:
mount volume "smb://192.168.1.110/Public/Videos"
With Snow Leopard, this would mount 'Videos' but since I upgraded to Lion it mounts 'Public' and I have to navigate from there. Can anyone help me fix it?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2005
Location: Vancouver, BC
Status:
Offline
|
|
Anyone think they can help?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2005
Location: Vancouver, BC
Status:
Offline
|
|
Ok, now that everybody's had a month to get into the Lion groove...bump.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
tell application "Finder" to open POSIX file "/Volumes/whatever/Public/Videos"
?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2007
Location: Wisconsin
Status:
Offline
|
|
Once you have "Videos" mounted, can't you simply drag that into your Login Items?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2005
Location: Vancouver, BC
Status:
Offline
|
|
Originally Posted by wrambro
Once you have "Videos" mounted, can't you simply drag that into your Login Items?
The thing is that I can't get 'Videos' to mount, just mount 'Public'. If I drag the 'Videos' folder into the startup items it just mounts 'Public' and opens a Finder window with the 'Videos' folder.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2007
Location: Wisconsin
Status:
Offline
|
|
I see, so 'Videos' is a folder on the drive 'Public', is that right? I don't think there's a straight forward way to do that, pretty sure you can only mount devices/partitions/networked storage.
What about creating an alias for your 'Videos' folder on your Desktop? Haven't tried it myself, but it may be worth trying..
Edit: just tried this, and it works like a charm (it will even mount the drive it it is not already mounted). And you can create the illusion that 'Videos' is actually mounting by setting your Finder preferences to not show connected servers on your Desktop
(
Last edited by wrambro; Aug 20, 2011 at 12:11 PM.
)
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2005
Location: Vancouver, BC
Status:
Offline
|
|
Originally Posted by CharlesS
tell application "Finder" to open POSIX file "/Volumes/whatever/Public/Videos"
?
Huh, I can't get that to work, though it's probably because I'm a bonafide hack at applescript. Can you elaborate a bit more for me?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|