This content has been marked as final. Show 2 replies
I too have an AppleScript problem in migrating to FMP 10. A Script that works well under FMP8 now no longer works.copy "CWData" to DBNametell application "FileMaker Pro"
go to database DBName -- ERROR ON THIS LINEThe error is "FileMaker Pro got an error: Object not found."CWData has been converted from FMP 8 to FMP 10. I have already tried using the name CWData.fp10 without success.
I found the answer to this problem. When a FMP database file is converted go FMP 10, a hidden extension is added to the file name. In my case I had the file CWData.fp7 as the name of the original file. No hidden extension. After converting to FMP 10 the file became CWData.fp10. My AppleScripts did not work on the new file. After doing a Get Info on the file I saw that the true name of the file was CWData.fp10.fp7. The .fp7 was a hidden extension. After changing my AppleScript to include the hidden extension my scripts worked.