EventName
(string) The name of the event whose script you want as it appears in the script editor dialog. For example "On Show".
Re t u r n s
(string) The page's script for the specified event. If an error occurs, an empty string ("") is returned. You can use Application.GetLastError to determine whether this action failed, and why.