: mount volume
: “afp://username:password@location/Disk_Name”
Thanks, Dave, for responding - but sadly just the usual Error No -3170.
BUT, not to give up, what exactly is ‘location’ in this situation? I’ve tried a few things - the ‘computer name’ and other ideas but maybe I haven’t thought of something. Hey, this ought to be really simple.
Andreas
: Thanks, Dave, for responding - but sadly just the usual Error No
: -3170.
: BUT, not to give up, what exactly is ‘location’ in this
: situation? I’ve tried a few things - the ‘computer name’ and
: other ideas but maybe I haven’t thought of something. Hey,
: this ought to be really simple.
: Andreas
For “location” I use the IP address. I log on to the fileserver at work like this:
Tell application "Finder"
mount volume "afp://username:password@IP Address/Disk_Name"
end tell
That script lives in the startup items folder. I hope it helps.
I’m stumped by the fact that you want to acquire a partition. I know that partitions will appear on the desktop as their own icons, right? Maybe a “get info” on a partition would shed some light? Or record the act of selecting and opening the “disk.” This might at least allow you to see what AS wants to “call” it. Good luck, and let me know what happens. I’m curious now, too!
: Tell application “Finder” mount volume
: “afp://username:password@IP Address/Disk_Name” end tell
I can’t believe that anything to do with ‘IP address’ applies here. I don’t want to tour the planet - just mount a disk sitting under my nose. And I didn’t think I was so thick!
Andreas
: I can’t believe that anything to do with ‘IP address’ applies
: here. I don’t want to tour the planet - just mount a disk
: sitting under my nose. And I didn’t think I was so thick!
: Andreas
Here’s another incorrect suggestion from me:
What if you replace “location” with something like ATA Bus 2 Dev 0. v3.2.8 “Name” and “password” with the computer’s owner name and password? Are the partitions on the startup disk? Maybe something like
“. . . . . of startup volume”
:: Are the partitions on the startup disk?
Ah, I sense that I may have used the wrong terminology. I am talking about ‘disks’ on partitions of the internal and external drives - concrete, identifiable ‘disks’. It’s the drives that are partitioned, not any disk. The startup disk is (usually) one disk (partition?) on the internal drive.
A different way of posing my question would be - I have 2 or 3 disk icons on the desktop in addition to the startup disk. Some of those disks are physically on the internal drive, others on external drives. If I slide an icon to the trash (or use cmnd-Y) how, just using AS, do I immediately get that disk back?
I never ‘record’ things but am willing to give anything a try. How, say in the Finder, do I remount one of those disks?
I’m still trying to win before the men in white coats arrive.
Andreas