Skip to content

Instantly share code, notes, and snippets.

@ReDetection
Created Apr 30, 2020
Embed
What would you like to do?
my MTMR settings - early 2020
[
{ "type": "escape", "width": 110},
{ "type": "exitTouchbar", "width": 50, "align": "left" },
{ "type": "brightnessDown", "width": 40 , "align": "left" },
{ "type": "brightnessUp", "width": 40 , "align": "left" },
{ "type": "button", "title": "do what feels awesome 🔥", "bordered": false },
{ "type": "appleScriptTitledButton", "refreshInterval": 31, "source": { "inline": "if application \"Safari\" is running then\r\ttell application \"Safari\"\r\t\trepeat with t in tabs of windows\r\t\t\ttell t\r\t\t\t\tif URL starts with \"https:\/\/music.yandex.ru\" and name does not end with \"на Яндекс.Музыке\" then\r\t\t\t\t\treturn name of t as text\r\t\t\t\tend if\r\t\t\tend tell\r\t\tend repeat\r\tend tell\rend if\rreturn \"\"" },
"action": "appleScript", "actionAppleScript": {"inline": "if application \"Safari\" is running then\r\ttell application \"Safari\"\r\t\trepeat with w in windows\r\t\t\trepeat with t in tabs of w\r\t\t\t\ttell t\r\t\t\t\t\tif URL starts with \"https:\/\/music.yandex.ru\" and name does not end with \"на Яндекс.Музыке\" then --последнее условие проверяет, запущена ли музыка\r\t\t\t\t\t\tactivate\r\t\t\t\t\t\tset index of w to 1\r\t\t\t\t\t\tdelay 0.1\r\t\t\t\t\t\tset current tab of w to t\r\t\t\t\t\tend if\r\t\t\t\tend tell\r\t\t\tend repeat\r\t\tend repeat\r\tend tell\rend if"},
"image": {"base64": "iVBORw0KGgoAAAANSUhEUgAAAJgAAACVCAYAAACkXDP\/AAAMI2lDQ1BJQ0MgUHJvZmlsZQAASImVVwdUk8kWnr8kISGhBSIgJfQmSq9SQwsgIFWwEZJAQokhEFTsyKICa0FFBCu6KqLoWgBZbNjLomCvCyIqyrpYsKHyJgmg675y3j1nZr5z59473512ZgBQjeKIxZmoGgBZolxJdLA\/c1JiEpP0CKBAG6gBXUDmcHPEflFR4QDKcPt3eXcTILL2mq0s1j\/7\/6uo8\/g5XACQKIhTeDncLIgPA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I+NYW4n9nYA2NZH2tMn+0zs89oYRWNhiI6y1WHWSwXY5aMYIetns31RTSh6TlL6XhKCZqSsxvyIhUaFuPhhGUpqXRBf4XUNAqtEjcVD1mhaCjDjBBclltymU5lRSeY2VajPV1zUjfYzQ\/ZzmL+xdw+kHfjToINbkXHJYhtRD0naay5O8xCJzXWe17rPdGhl1WERDqbFXEDRw7HY1Dj3n\/0MG38VhL7K6TAQTka\/mZVIoU94NGpCNuTlCxRZbFJawC4mx3DaACowdwPPgccCDgQcCDgQMCBgAMBBwIOBBwIOBBwIOBAwIGAAwEHAg4EHAg4EHAg4EDAgYAD\/ubA\/wORPcQEzzVDQgAAAABJRU5ErkJggg=="},
},
{ "type": "volume", "width": 100, "align": "right" },
{ "type": "displaySleep", "width": 44, "align": "right"},
{ "type": "appleScriptTitledButton", "refreshInterval": 1800, "source": { "filePath": "/Users/sbuglakov/Library/Application Support/MTMR/Weather.scpt"}, "align": "right" },
{ "type": "timeButton" , "align": "right"},
]
tell application "JSON Helper"
set weather to fetch JSON from "http://api.agromonitoring.com/agro/1.0/weather?polyid=5c4e94f48284ac0009d5b21d&appid={key}"
set temp to temp of main of weather
set tempString to (temp - 273.15) as string
set wind to speed of wind of weather as string
return tempString & "°C
" & wind & "m/s"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment