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

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

Recommended Posts

Posted

I'm having a problem getting 'show records' to work in AppleScript

--this code works

show (every record of database "Image Library Data" whose cell "File Path" contains "9504095U33.jpg")

--this code gives an Event Not Handled error

show (every record of database "Image Library Data" whose cell "File Path" contains "Image Bank #1:H&D Images:1995 APRs:9504095U33.jpg")

--and so does this

show (every record of database "Image Library Data" whose cell "File Path" = "Image Bank #1:H&D Images:1995 APRs:9504095U33.jpg")

but if I go into FMP and do a find for this, It properly finds my record. The equal sign and quotes have to be input in the find field as well.

="Image Bank #1:H&D Images:1995 APRs:9504095U33.jpg"

Posted

Doh! Apparently the script command

whose cell "file path" contains...

does not like the # sign in my string. probably because FMP uses it as a reserved string for finding in FMP.

time to rename my volume.... Argh!!!

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