A developer tool to detect double click on a layer and execute a script
https://aescripts.com/wq-pro/