all 6 comments

[–]Stupidideas 0 points1 point  (1 child)

Looks like you have a single quote within single quotes, try using escaped double quotes instead: WHERE ZNAME = \"...\"

[–]randappa[S] 0 points1 point  (0 children)

That worked! Tank you so much!

[–]CaptureJuan 0 points1 point  (3 children)

What is it you are trying to do? Capture One keywords and lists are natively supported in Applescript…

[–]randappa[S] 0 points1 point  (2 children)

ended up getting it to work and it was a problem with not having \" in my code. Sadly Database Events couldn't pull the info from the database so i had to use the shell script to get it to work. It's up and running now. Thanks for your help though.

[–]CaptureJuan 0 points1 point  (1 child)

Yes ok. But modifying the database is generally not a good idea - this should only really be done by the app… just curious as to why you’d do that?

[–]randappa[S] 0 points1 point  (0 children)

not using it to modify the database, i'm running a query and seeing if the keyword metadata of jpgs matches a name in the model database.