Jump to content
Server Maintenance This Week. ×

Logging on to the Server


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

Recommended Posts

Hi,

I'm trying to do the following (using FM8);)

At a specific time (say 3:00 am)..

Open Filemaker Client on a local machine...

Log on the Filemaker Server (with specific user/password)...

Run a script...

Wait until script is finished...

Quit Filemaker client.

Does anyone know what the applescript code for that is...

Thanks a lot,

Michael Reade

Link to comment
Share on other sites

  • 2 weeks later...
  • Newbies

Hi

To login remotely you need to have the IP address of the host. Also you need your username and password and the name of the database.

The code may look something like this. (substitute [..] )

property remoteURL :B "FMP8:// [username] : [password] @ [iP Address] / [Database name]"

tell application "FileMaker Pro"

activate

getURL remoteURL

do script "Scriptmaker name"

end tell

Include a step in your FilemakerScript which exits the application after it has done what it needs to.

Scheduling the script is simplicity itself.

Use the " ical" application which comes with OSX. Sound crazy but it works!

Open the application and create a new event. Set this event to run every day (or whenever) and set the time to 3am. Then set the alarm to run this applescript. (with a reminder 0 mins before).

Hope this helps.

Tim

Link to comment
Share on other sites

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