Jump to content
Server Maintenance This Week. ×

Automate Open Remote File


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

Recommended Posts

Is there a way to automatically open a FMP file remotely?

It is a little cumbersome for users to:

>go to file

>open remote

>choose host

>choose file

Would like to automate all this for the user upon computer startup. Any ideas on how to do this?

Most of us are on OS X v.10.5.8

Thank you for your help! :)

Link to comment
Share on other sites

FMP 9? The latest version has a method of creating a short link. But in earlier versions, like 9, you can create an "Opener" file.

Users click on that local file. The local file contains a reference to the remote file, runs a script that opens the remote file, then closes itself.

Link to comment
Share on other sites

Ok, so I got this to work per your advise.

I created a startup file with a script > (open file) that opens the main file and then closes itself like you said. I put this startup file in my System Prefs> Accounts> Login Items.

This is working well, much better alternative to opening remote manually.

Any further suggestions, tweaks, etc... to this?

Cool deal!

Link to comment
Share on other sites

Don't forget you can just create a link that you can put on your desktop, in an email, or in a company internal home page, whatever.

fmp7://serverIP/filename.fp7

Link to comment
Share on other sites

Just thought of something! What if the remote file is offline?

So in startup script, I set error capture ON.

---

IF [Get LastError = 100]

Message "Sorry, file unavailable"

ELSE

Close startup file

---

Good source for FMP Error Codes: http://www.briandunning.com/error-codes/

Link to comment
Share on other sites

This topic is 5076 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.