On a screen with a tabstrip, I want to process an InputScript when the user clicks on a certain tab. Is this possible?

Yes; please use the notation

On "=TAB02"  Fcode="=TAB02"    process="...."

where "=TAB02" is the internal function code of the tab. You can use "Input Recording" to find out the function code.