tell application "System Events"
tell application process "Evernote"
# set oWin to window 1
# set tagFilterBtn to button 3 of UI element 2 of UI element 1 of oWin
tell UI element 2 of UI element 1 of window 1
set tagBtn to first button whose description is "Filter by tag"
set nbBtn to button 5
end tell
set helpStr to help of tagBtn
-->Viewing notes tagged β.NB.ITβ
set quoteOpen to offset of "β" in helpStr
set quoteClose to offset of "β" in helpStr
set tagName to text (quoteOpen + 1) thru (quoteClose - 1) of helpStr
-->.NB.IT
set nbName to name of nbBtn
-->Active
end tell
end tell