I'm having issues setting up an action on tap for weather button. I'm testing the following code:
{
"type": "weather",
"align": "right",
"refreshInterval": 300, // in seconds
"icon_type": "images",
"api_key": "ca93a0bb8cdb428552660d83249e4bc9",
"bordered": false
"actions": [
{
"trigger": "singleTap",
"action": "appleScript",
"actionAppleScript": {"inline": "activate application \"Spotify\""},
}
]
},
But for some reason that crashes the weather button. My idea is to trim the apple script to show the Weather widget (two finger right slide) afterwards.
I'm having issues setting up an action on tap for weather button. I'm testing the following code:
But for some reason that crashes the weather button. My idea is to trim the apple script to show the Weather widget (two finger right slide) afterwards.