Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7868 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I've been using Applescript for a little while now, but still have a difficult time thinking along the lines of applescript. I can't help but think in terms of Perl and C. Anyway, I'm just trying to do something very simple. That is, I want to connect to a server with OS 9. And a version to connect to a server in OS X too. These applescripts would be launched from FileMaker as a preliminary process before launching an existing Applescript which moves things to these servers which reside on our LAN and have a known i.p. address. Any help with this simple task would be greatly appreciated. Maybe I'm thinking incorrectly and the connecting to the server has to be coupled with the existing moving of files. I dunno, some day I'll get the hang of this.

Posted

By "connecting to the server," do you mean mount the server volume in the Finder? Then you need to use Tell Application "Finder"...

Posted

Yes, mounting of the server. I figured it will be a Tell to the Finder... but what do I tell the Finder? (OS 9 and X) I see only open as an option... I don't see Connect To Server (apple-K if you will) as an option. I'm sure by now you have been able to deduce my "expertise" in applescripting smile.gif.

Posted

<http://bbs.applescript.net/>

<http://www.applescriptsourcebook.com/home.html>

<http://www.macos.utah.edu/Documentation/AppleScript/MountVolume/MountVolume.html>

mount volume "volumename" on server "servername" as user name "username" with password "password"

or

mount volume "afp://192.168.0.0/MacHD" as user name "xx" with password "xx"

This topic is 7868 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.