@Andreas_Hegenberg New handoff separation is working well!
@GoldenChaos my code if you're interested:
tell application "BetterTouchTool" to set LCL_DNDStatus to get_string_variable "DNDStatus"
if LCL_DNDStatus is "OFF" then
tell application "BetterTouchTool"
set badgeNumber to get_dock_badge_for "News" update_interval 3
set handoffDevice to get_dock_badge_for "News-handoff" update_interval 3
end tell
if badgeNumber is not missing value and handoffDevice is missing value then
if application "News" is running then
return "{\"text\":\"" & badgeNumber & "\",\"font_size\": 15}"
else
return ""
end if
else if handoffDevice is not missing value then
if handoffDevice contains "iPhone" then
return "{\"text\":\"📱\",\"font_size\": 15}"
else if handoffDevice contains "iPad" then
return "{\"text\":\"⬛️\",\"font_size\": 15}"
else if handoffDevice contains "watch" then
return "{\"text\":\"⌚️\",\"font_size\": 15}"
else if handoffDevice contains "Mac" then
return "{\"text\":\"🖥\",\"font_size\": 15}"
end if
else
return ""
end if
else
return ""
end if