Michael Reade Posted April 25, 2006 Posted April 25, 2006 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
Erik Saline Posted May 4, 2006 Posted May 4, 2006 Applescript can do it, but you can also use a plugin called oAzium Events. You can set the date, time, database, and scripts. There documentation has many examples to follow.
Newbies Tim Baldwin Posted May 5, 2006 Newbies Posted May 5, 2006 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 "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
Recommended Posts
This topic is 6776 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 accountSign in
Already have an account? Sign in here.
Sign In Now