Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;===================================================
- ; GUI and Settings
- ;===================================================
- f1::
- settitlematchmode, 2
- CoordMode, Mouse, Screen
- Gui, Destroy
- Gui, Color, White
- Gui, Add, Button, x12 y9 w90 h90 gGoodMorning, All Tabs
- Gui, Add, Button, x122 y9 w90 h90 gRemoteSub, Remote
- Gui, Add, Picture, x62 y129 w110 h100 vBremote1 gLast Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\last.png
- Gui, Add, Picture, x192 y129 w100 h100 vBremote2 gPause Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\pause.png
- Gui, Add, Picture, x312 y129 w110 h100 vBremote3 gPlay Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\play.png
- Gui, Add, Picture, x442 y129 w110 h100 vBremote4 gNext Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\next.png
- Gui, Add, Picture, x62 y279 w110 h80 vBremote5 gMute Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\mute.png
- Gui, Add, Picture, x192 y279 w100 h80 vBremote6 gVolDown Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\vol down.png
- Gui, Add, Picture, x312 y279 w100 h80 vBremote7 gVolUp Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\vol up.png
- Gui, Add, Picture, x712 y129 w60 h60 vBremote8 gPandora Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\pandora.jpg
- Gui, Add, Picture, x622 y119 w80 h80 vBremote9 gYT Hidden, C:\Users\Thom\Desktop\Auto S Deck\pictures\yt.png
- Gui, Show, x2688 y0 w1023 h700, Auto S Deck
- Return
- GoodMorning:
- run, www.youtube.com
- sleep 1000
- run, www.reddit.com
- sleep 1000
- run, www.discord.com
- sleep 1000
- run, www.facebook.com
- sleep 1000
- run, www.beech.org/webmail
- sleep 1000
- run, https://mail.google.com/mail/u/0/?tab=rm&ogbl#inbox
- Return
- RemoteSub:
- if !( Hidden1)
- { ; if results are false, 0 or blank...
- GuiControl, Show, Bremote1
- GuiControl, Show, Bremote2
- GuiControl, Show, Bremote3
- GuiControl, Show, Bremote4
- GuiControl, Show, Bremote5
- GuiControl, Show, Bremote6
- GuiControl, Show, Bremote7
- GuiControl, Show, Bremote8
- GuiControl, Show, Bremote9
- Hidden1 = 1
- }
- else
- {
- GuiControl, Hide, Bremote1
- GuiControl, Hide, Bremote2
- GuiControl, Hide, Bremote3
- GuiControl, Hide, Bremote4
- GuiControl, Hide, Bremote5
- GuiControl, Hide, Bremote6
- GuiControl, Hide, Bremote7
- GuiControl, Hide, Bremote8
- GuiControl, Hide, Bremote9
- Hidden1 = 0
- }
- Return
- Last:
- #IfWinExist ahk_class Youtube
- Send, {Media_PREV}
- #IfWinExist
- Return
- Pause:
- #IfWinExist ahk_class Youtube
- Send, {Media_Play_Pause}
- #IfWinExist
- Return
- Play:
- #IfWinExist ahk_class Youtube
- Send, {Media_Play_Pause}
- #IfWinExist
- Return
- Mute:
- #IfWinExist ahk_class Youtube
- Send {VOLUME_MUTE}
- #IfWinExist
- Return
- Next:
- #IfWinExist ahk_class Youtube
- Send, {Media_Next}
- #IfWinExist
- Return
- VolUp:
- SoundSet, +5
- Return
- VolDown:
- SoundSet, -5
- Return
- Pandora:
- Run, https://www.pandora.com/station
- Return
- YT:
- Run, www.youtube.com
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement