Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8033 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

i have an AppleScript that downloads and unpacks a text file that after that is supposed to be imported in a db file. when the AppleScript gets to the point where it has to interact with FileMaker i get this error:

application does not run in this environment

which environment? it works fine if i open it myself. this is the AppleScript:

set localFile to "projects:my:path:newDB"

tell application "FileMaker Pro"

activate

open localFile

do script "importDB"

end tell

any help appreciated.. thanks...

  • Newbies
Posted

Maybe check if the type and creator for the text file. Could it be that it is trying to open a different application because of a wrong association?

Posted

Is the script failing when it tries to open localFile or when it tries to activate Filemaker Pro? Are running on OSX? Is this a script that used to run on OS9? It could be that the Applescript is trying to run the wrong version (or installation) of Filemaker.

Posted

working now... thanks.... it wasn't finding filemaker - now it does...

please read my other post under:

URL Access Scripting and ports?!?

This topic is 8033 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.