Hi, I'm trying the use the new OnTabSwitch script trigger to search for specific contact categories. I use the following script:
Set Variable [$category; Value:GetValue ( Get ( TriggerTargetTabPanel ) ; 2 )
Set Error Capture [On]
Perform Find [Restore] (# this searches for the $category variable)
Set Error Capture [Off]
Exit Script [Result: "1"]
Everything works fine except the target tab is not highlighted after the script completes. It's as if the trigger runs the script properly but does not complete the action. I've tried using other script results, such as "True" or "0" with no difference in behaviour. If I click the target tab a second time, it becomes the active tab, like I think it should on the first click. What am I missing here?
Ste Anne MB Canada