• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script Timer/Filemaker question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script Timer/Filemaker question


  • Subject: Script Timer/Filemaker question
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 28 Oct 2005 16:59:57 -0700

Hi,

Someone in another office here is having an AppleScript applet problem that has us stumped.

He's using Script Timer (2.3.1) to run a script every day at 6 am. The script opens a Filemaker database, runs a Filemaker script then quits Filemaker.

When we run it directly from Script Timer or set Script Timer to run the script in a few minutes, it works flawlessly. But, when it's run in the morning it generates an error:

> Wednesday, October 19, 2005 6:00:00 AM: Starting
> <FM5MailDataNQ.app(RunMailScriptNoQuit)> . (Run Number: 34)
>
> Wednesday, October 19, 2005 6:02:06 AM: Error attempting to execute
> <FM5MailDataNQ.app> Number -1713: No user interaction allowed.
>
We've contacted the Script Timer vendor and followed their suggestions (setting the wait time to 0) to no avail.

Any suggestions? (The fairly short script is included below).



try
	tell the application "FileMaker Pro"
		activate
		open file "FMServer01:PhotoLabOMSbu:EMP_REC.fp5" with password "locust"
		do script "[EXPORT]MailList"
		quit
	end tell
on error the error_message number the error_number
	set the error_text to {runcount, ". Error: ", the error_number, ". ", the error_message} as string
	activate me
	my write_error_log(the error_text)
	return error_text
end try
on write_error_log(this_error)
	set the error_log to ((path to desktop) as text) & "Script Error Log.txt"
	try
		open for access file the error_log with write permission
		write (this_error & return) to file the error_log starting at eof
		close access file the error_log
	on error
		try
			close access file the error_log
		end try
	end try
end write_error_log


Ed Stockly
Los Angeles Times
Assistant Editor TV Times

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Script Timer/Filemaker question
      • From: Bruce Robertson <email@hidden>
    • Re: Script Timer/Filemaker question
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: Re: Cannot set Japanese (non-Roman) font in Powerpoint
  • Next by Date: Re: Script Timer/Filemaker question
  • Previous by thread: Re: making applescript wait until shell script finishes
  • Next by thread: Re: Script Timer/Filemaker question
  • Index(es):
    • Date
    • Thread