mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38:38 +00:00
Update README.md
This commit is contained in:
parent
59cde098f2
commit
66b175d5ba
@ -130,7 +130,7 @@ The pre-installed configuration contains less or more than you'll probably want,
|
|||||||
"source": {
|
"source": {
|
||||||
"filePath": "/Users/toxblh/Library/Application Support/MTMR/iTunes.nowPlaying.scpt",
|
"filePath": "/Users/toxblh/Library/Application Support/MTMR/iTunes.nowPlaying.scpt",
|
||||||
// or
|
// or
|
||||||
"inline": "tell application \"Finder\"\rif exists window 1 then\ractivate\relse\rmake new Finder window\rset target of front window to path to home folder as string\ractivate\rend if\rend tell",
|
"inline": "tell application \"Finder\"\rif not (exists window 1) then\rmake new Finder window\rset target of front window to path to home folder as string\rend if\ractivate\rend tell",
|
||||||
// or
|
// or
|
||||||
"base64": "StringInbase64"
|
"base64": "StringInbase64"
|
||||||
}
|
}
|
||||||
@ -314,7 +314,7 @@ To close a group, use the button:
|
|||||||
```js
|
```js
|
||||||
"action": "appleScript",
|
"action": "appleScript",
|
||||||
"actionAppleScript": {
|
"actionAppleScript": {
|
||||||
"inline": "tell application \"Finder\"\rmake new Finder window\rset target of front window to path to home folder as string\ractivate\rend tell"
|
"inline": "tell application \"Finder\"\rif not (exists window 1) then\rmake new Finder window\rset target of front window to path to home folder as string\rend if\ractivate\rend tell",
|
||||||
// "filePath" or "base64" will work as well
|
// "filePath" or "base64" will work as well
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user