I found a solution that seems obvious but you have to install the plugins into Program Files > Common Files > Adobe > Plug-ins > CC instead of the photoshop plugins folder :)
u need to put the .mel files into the Maya script folder then call it or, just add SimplePipe; at the end of the script like this: ---------------------------------------------- window -edit -h 200 -w 265 $window; showWindow $window; } <-- the end of Simple Pipe script SimplePipe; --------------------------------