AnsweredAssumed Answered

FMP 9.0v3 Mac OS 10.6 using applescript to insert image into container field returns error

Question asked by disabled_Ed-Case on May 5, 2010
Latest reply on May 14, 2010 by disabled_Ed-Case

Summary

FMP 9.0v3 Mac OS 10.6 using applescript to insert image into container field returns error

Description of the issue

This exact applescript works fine under OS 10.4 or earlier, but won't work using 10.6 on any computer. I have tried it on three computers - iMac, Mini, MacBook in very simple and much reduced terms this is what it says: set TheImage to "images:imagefolder:ABC123AA.jpg"tell application "Filemaker Pro"set cell "Preview" of record i of window "PhotoList" to file TheImageend tell Preview being a container field. As I say, this works fine on macs running 10.4 or earlier, but returns an error message with 10.6:Result:error "FileMaker Pro Advanced got an error: Object or property is the wrong type." number -10001 to item I have even amended the script to first ask Finder if the file exists - and it returns "true". I know that 10.6 can be a bit case sensitive, which I originally thought might be the case. ThanksCS 

Outcomes