Are the IP addresses in the script the same as the projector you're trying to control?

You don't need an Applescript for Panasonic projectors. (don't know what you're using) You can put the shutter open and shutter close URLs into a slot in a custom serial device.

Shutter Close
http://user1:panasonic@yourprojector...&lang=e&osd=on

Shutter Open
http://user1anasonic@yourprojector_ip_address/cgi-bin/proj_ctl.cgi?key=shutter_off&lang=e&osd=on

user1anasonic refers to the user name and password, adjust to suit your projector.

set the output of the custom serial device to "no output"

hope that helps