Change modified date of each photo to the actual shooting time

Hello sirs,

My goal is to copy the Shooting Time metadata and paste it into the Modified Time of each selected file.
I ran a variant of the script that Leo created here in 2008

SetAttr META modifydate:datetaken

and got Metadata parsing error

so I look here

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Programmatic_setting_of_Metadata.htm

but there is nothing about datetaken or modifydate

what I missing?

The keywords are slightly different:

You can also copy the values from another date field by specifying the other field's name: createdate, lastmodifieddate, datedigitized or datetaken.

https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Keywords_for_SetAttr_META.htm

got it working now
thanks sir!