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

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

Recommended Posts

Posted

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

This topic is 7671 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.