Trigger Event in new Unity GUI

Hello, I was wondering if it was possible to trigger an OnClick event on a button from a script, so that all of the actions specified in the list are done.

I need this because i have a list of buttons in a scrolling rect, but the rect will get input only if the user clicks in between the buttons.

You can make a special button (select all) that on click triggers the click event on all buttons from the list (you can do this trough the editor).

Or by scripting simulate a click on all buttons (do a foreach → GetComponentsInChildren() ).

 ExecuteEvents.Execute<IPointerClickHandler>(gameObject, new PointerEventData(EventSystem.current), ExecuteEvents.pointerClickHandler);

http://docs.unity3d.com/Manual/SupportedEvents.html

http://docs.unity3d.com/Manual/MessagingSystem.html