I need to have an Applescript launch an FMP file whenever the computer awakens OR starts up.
Any ideas of what Applescript to write and how to get it triggered?
How about using Keyboard Maestro? You can have an action of opening a file to be triggered by "at system wake" and "at engine launch" (or "at login").
You can use System/User Daemons to launch AppleScript on launch and wake.
Launching on its own is a bit easier - you can add your AppleScript to System Preferences/Users and Groups/Login Items
AppleScript to launch a file :
tell application "FileMaker Pro" to activate
set filepath to "/Users/ben/Desktop/test.fmp12"
tell application "FileMaker Pro"
Thank you doubleHelix and Nicolai. It seems that using a Daemon is better
as it doesn't require an extra app. I'll check with my client to make sure
he wants it when the computer awakens too.
I may be back with more questions
Retrieving data ...