Returns an action using its index or its name from the actions
collection.
Parameters:
iIndex
The index or the name of the action to retrieve from
the collection of actions.
As a numerics, this index is the rank of the action
in the collection.
The index of the first action in the collection is 1, and
the index of the last action is Count.
As a string, it is the name you assigned to the action using
the