how to control processing video with arduino pressure sensor

how would I be able to start a video playing in processing when the serial monitor in arduino reads a certain number from a pressure sensor?

how would I be able to start a video playing in processing when the serial monitor in arduino reads a certain number from a pressure sensor?

Completely impossible. If the Serial Monitor application has the COM port that the Arduino is connected to open, Processing can’t open it.

Processing CAN open the same COM port, and has the same capability to read from and write to the port that the Serial Monitor application has.

There are even examples that come with Processing that show how.