November 24, 200322 yr hello, I have a Database that worked perfectly well in Jaguar ,but alas in Panther it doesn't work .The Script basically reveal's a file in the finder that a record is linked to using the "filepathtext" field ( i set "Filepathtext to Filepathglobal in a script step before this applescript) Now the script goes to the finder and then announces that the file cannot be found ,even if it does. i believe it is the line "if myfile exists then" that is the problem ,if i remove this line and therefore disable the failure dialog the script works fine... any ideas .. here is the script Paul Apted tell Application "FileMaker pro" Set Myfile to cell "finderpathglobal" end tell tell Application "Finder" activate if myfile exists then reveal file myfile else display Dialog "NO SOUNDFILE FOUND Check Media is Online or Record is Properly Linked" buttons{"OK"} default button "OK" end if if button returned of result is equal to "OK" then Tell Application "Filemaker Pro" Activate end tell end tell
November 25, 200322 yr Author then it works.......... I hate it when that happens Many thanks ,although i could have sworn i had tried that Paul
Create an account or sign in to comment