November 27, 200223 yr 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...
November 27, 200223 yr Newbies 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?
November 27, 200223 yr 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.
November 27, 200223 yr Author working now... thanks.... it wasn't finding filemaker - now it does... please read my other post under: URL Access Scripting and ports?!?
Create an account or sign in to comment