-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/50ButtonsEach/hax-with-fl…
- Loading branch information
Showing
11 changed files
with
102 additions
and
0 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,8 @@ | ||
#!/usr/bin/osascript | ||
# Toggle VLC fullscreen mode. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
fullscreen | ||
end tell | ||
end if |
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,8 @@ | ||
#!/usr/bin/osascript | ||
# Mute or unmute the VLC audio playback. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
mute | ||
end tell | ||
end if |
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,8 @@ | ||
#!/usr/bin/osascript | ||
# Jump to next item in playlist. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
next | ||
end tell | ||
end if |
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,8 @@ | ||
#!/usr/bin/osascript | ||
# Play or Pause the current playlist item | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
play | ||
end tell | ||
end if |
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,8 @@ | ||
#!/usr/bin/osascript | ||
# Jump to previous item in playlist. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
previous | ||
end tell | ||
end if |
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,9 @@ | ||
#!/usr/bin/osascript | ||
# Step backward. The step width can be changed below. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
# Step width (1=extraShort, 2=short, 3=medium, 4=long). | ||
step backward 2 | ||
end tell | ||
end if |
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,9 @@ | ||
#!/usr/bin/osascript | ||
# Step forward. The step width can be changed below. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
# Step width (1=extraShort, 2=short, 3=medium, 4=long). | ||
step forward 2 | ||
end tell | ||
end if |
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,8 @@ | ||
#!/usr/bin/osascript | ||
# Stop playing the current playlist item. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
stop | ||
end tell | ||
end if |
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,11 @@ | ||
#!/usr/bin/osascript | ||
# Decrease volume by one step. There are a total of 32 steps. | ||
# If you want to decrease the volume more on each execution then just uncomment the second volumeDown below. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
volumeDown | ||
# Uncomment next line for more decrease.. | ||
# volumeDown | ||
end tell | ||
end if |
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,11 @@ | ||
#!/usr/bin/osascript | ||
# Increase volume by one step. There are a total of 32 steps. | ||
# If you want to increase the volume more on each execution then just uncomment the second volumeUp below. | ||
|
||
if running of application "/Applications/VLC.app" is true then | ||
tell application "/Applications/VLC.app" | ||
volumeUp | ||
# Uncomment next line for more increase.. | ||
# volumeUp | ||
end tell | ||
end if |