Feature Request: Detect the current foreground activity and make it as a state.

As we all know, Tasker have an App context to detect the foreground activity and run tasks, but there is no way to detect the activity. I can't make Tasker decide whether to perform a task according to the current activity.when a event happened(of course Shell code can detect the activity, but shell is too slow)