Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from griff/TV-app-support
Support TV app and missing iTunes
- Loading branch information
Showing
34 changed files
with
504 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
tell application "TV" | ||
set sel to selection | ||
set ret to {} | ||
set retRef to a reference to ret | ||
set len to length of sel | ||
repeat with n from 1 to len | ||
set obj to item n of sel | ||
set i to {mylocation:location of obj, myid:persistent ID of obj} | ||
copy i to the end of retRef | ||
end repeat | ||
end tell | ||
return ret |
14 changes: 14 additions & 0 deletions
14
App/resources/Return TV app selected.scptd/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.ScriptEditor.id.Return-TV-selected</string> | ||
<key>CFBundleName</key> | ||
<string>Return TV selected</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.15</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+2.09 KB
App/resources/Return TV app selected.scptd/Contents/Resources/Scripts/main.scpt
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
App/resources/Return iTunes selected.scptd/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.ScriptEditor.id.Return-iTunes-selected</string> | ||
<key>CFBundleName</key> | ||
<string>Return iTunes selected</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>MZMaximumSystemVersion</key> | ||
<string>10.14</string> | ||
</dict> | ||
</plist> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.