My guess would be that you are missing an ExitScript[ False ] script step. Have you tried this?
Within the context of a script fired off by a script trigger:
An ExitScript step with a script result value of False signifies to FM that you do not want the triggered action to run its course.
Therefore, in the specific case you describe:
An ExitScript[ False ] will tell FM that you do not want the triggered action to complete, i.e. the user should not be taken to the tab that they clicked on.
In the absense of such an ExitScript step:
The trigger action will complete, and thus the user continues on to the tab that they clicked on (even after you have taken them to a different tab).
If you haven't tried this yet, please give it a go:
- GoToObject[ Tab1 ]
- ExitScript[ False ]
Please let me know if I haven't been clear enough.
You are absolutely correct.
Never had to use this one before!
Thanks for this!