4 Replies Latest reply on Oct 19, 2009 7:52 AM by turtlewheels

    Applescript only works during day



      Applescript only works during day




      I have an odd problem that I have not been able to find an answer for...


      I use an applescript to open a filemaker database that is hosted with FileMaker Server. The script runs fine if I initiate it, but when I use iCal or any remote triggered applications, I get an error message "Object Not Found". I have also tried saving the applescript as an application, but this also results with the same error. The script works when I am using the computer- ie, if i set the applescript to run at 1PM and i am using the computer at 1PM, the applescript initiates and runs just fine. I have the energy settings set to never sleep.


      Has anyone else had this issue? Is there a simple workaround or fix?


      thanks so much!!! 


      MacPro 2.8GHz with MacOSX 10.5.8

      FileMaker Pro 9.0v3



      with timeout of (30 * 60) seconds

      tell application "FileMaker Pro"


      getURL "fmp7://login@IP/DBname"

      do script FileMaker script "Import_f32k"

      delay 60


      end tell

      end timeout