Re: Script Timer/Filemaker question
Re: Script Timer/Filemaker question
- Subject: Re: Script Timer/Filemaker question
- From: Bruce Robertson <email@hidden>
- Date: Mon, 31 Oct 2005 12:41:16 -0800
> 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
> etc
I'm curious about the server reference; there is some siginifiant possibilty
that this is a dangerouos setup.
Is the FileMaker application on the server? What is really happening here?
If you are running FileMaker Server then the path described above is likely
to lead to database damage. You should never be able to "see" a served file
in this way. And if you are not running FileMaker Server, then AFAIK it is
still the case that you should not be working this way, you should not open
a FileMaker file that is stored on a separate server drive in this way.
If the file is hosted by FileMaker Server, then the getURL style applescript
reference can be used:
GetURL "FMP5://passwword@serverIP/folder/Contacts.fp5"
_______________________________________________
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