GithubHelp home page GithubHelp logo

spotify-autohotkeys's Introduction

Spotify AutoHotkeys

Some autohotkey (.ahk) scripts for controlling spotify playback. And others for basic web navigaiton.

Sometimes Spotify controls do not work when the window is active. The 'Hide Window' key is used to mitigate this issue. (This is a bug I am unable to fix.)

These are some very old scripts I sometimes use(d) and this repo will see little to no updates. Feel free to use as you wish.

I was lazy and had GPT3 fill parts of the following:

Script: miniTab.ahk

The big script of the lot that requires a larger keyboard to function. It also includes basic browser controls.

  • ScrollLock : Media play/pause function.

  • PrintScreen : Media previous track function.

  • Pause : Media next track function.

  • Del : Simulates pressing Ctrl+Shift+Tab, which is used for cycling through tabs in reverse order.

  • PgDn : Simulates pressing Ctrl+Tab, which is used for cycling through tabs in forward order.

  • End : Simulates pressing Alt+Tab to switch between open windows.

  • PgUp : Simulates pressing Ctrl+T, which typically opens a new tab in web browsers.

  • Ins : Simulates pressing Ctrl+W, which often closes the currently active tab.

  • Home : Simulates pressing Win+D, which minimizes or restores all open windows, showing the desktop.

Script: SpotSpy.ahk

And this is for the small users. The 60% keyboards that lack the big boy keys.

Just replace the PgUp and PgDn keys with a key that works for you, as sometimes, the script wont work when the spotify window is active.

  • \ : Simulates pressing the spacebar, which is used to play/pause music in Spotify.

  • ] : Simulates pressing Ctrl+Right Arrow, which is used to skip to the next track in Spotify.

  • [ : Simulates pressing Ctrl+Left Arrow, which is used to go back to the previous track in Spotify.

  • = : Simulates pressing Ctrl+Up Arrow, which is used to increase the volume in Spotify.

  • - : Simulates pressing Ctrl+Down Arrow, which is used to decrease the volume in Spotify.

  • PgUp : Toggles the visibility of the Spotify window.

  • PgDn : Toggles the visibility of the Spotify window, similar to PgUp.

Script: tab.ahk

This is a script I used for web navigation. It is to be used with a numpad.

  • Numpad0 : Simulates pressing Alt+Tab to switch between open windows.

  • Numpad4 : Simulates Ctrl+Shift+Tab, which is used for cycling through tabs in reverse order in many applications.

  • Numpad6 : Simulates Ctrl+Tab, which is used for cycling through tabs in forward order in many applications.

  • Numpad9 : Simulates pressing Ctrl+Shift+N, which may open a new incognito/private window in some applications.

  • Numpad8 : Simulates pressing Ctrl+W, which often closes the currently active tab.

  • Numpad7 : Simulates pressing Ctrl+T, which typically opens a new tab in web browsers.

  • Numpad3 : Re-runs the tab.ahk script again. Is usefull for testing script changes quickly.

  • Numpad5 : Does nothing (no action is defined).

  • Numpad1 : Simulates pressing Win+D, which minimizes or restores all open windows, showing the desktop.

  • Numpad2 : Does nothing (no action is defined).

spotify-autohotkeys's People

Contributors

yellonox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.