I would like to temporarily disable Symantec Endpoint Protection. I know that this is done by right clicking the tray icon in the Windows, and then clicking enable/disable.

What I would like to do is write a program that handles this "clicking" for me. I started by writing a script that simply moves the mouse and does the clicking, however this does not work very well, and only half the time.

Is there any better way to do this? Like perhaps sending an input to SEP that signals it to temporarily disable?

I use the corporate version, so I am not sure if the service name is the same. You can check here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services(name of service...you may have to search for Symantec)

Write a small batch file (name it stop_SEP.bat) with the following command:
net stop "Symantec AntiVirus"

You can set the time within the program for how long it stays stopped before automatically restarting. The default on the corporate version is 5 minutes. It is probably somewhere like this: Change Settings>File System Auto-Protect>Advanced>When Auto-Protect is disabled, enable after

If you disable automatic restarts totally, you can create start_SEP.bat with this command: net start "Symantec AntiVirus".

Put them, or a shortcut to them in a convenient place.

If this works for you, please come back and mark the question as answered.