Ssd Laptop

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 8 October 2012

Fix Windows' Snap-To Hotkeys for Spotify AND Control Transparency!

Posted on 00:23 by Unknown
It's irked me for a while that Windows+Right/Left hotkeys don't work with Spotify. I use them all the time to reposition applications- especially when I'm at home with 4 monitors.


However I never quite hit the tipping point to motivated action for this puzzle, until I decided to make Spotify semi transparent so Winamp's Milkdrop visualizer could shine through during a social get-together at my place last night.

I found a great little app called glass2k that enables custom transparency for any window/application - however, it caused Spotify to freeze!

After searching for a while online, I decided that nobody had solved the whole 'Spotify uses a really weird window that doesn't behave normally' thing.

I'm pleased to report that I've found a way to fix Spotify up so it will work normally with Windows' snap-to functions. And to top it off, I also found a way to make Spotify transparent :)

Credit goes to the niftiest Windows program out there called Autohotkey, and community member System Monitor for his transparency script. Head on over to Autohotkey's homepage and install the program (and maybe later spend some time creating awesome hotkeys to paste text you commonly type out, such as your email address, or control music faster/easier, etc).

Once installed, all you have to do is open a text editor/notepad, paste the following, save the file, change the extension from .txt to .ahk, then double click it and you're good to go!

Consider copying it to C:\Users\[your username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ so it will automatically start on boot.

!f::
WinGet, active_id, ID, A
WinGet, Style, Style, A
if (Style & 0x170B0000)
{
 ;MsgBox, Fixing Spotify.
 WinSet, Style, 0x17CF0000, ahk_id %active_id%
 WinSet, Transparent, OFF, ahk_id %active_id%
}
return
!w::
WinGet, active_id, ID, A
WinGet, currentWindow, ID, A
if not (%currentWindow%)
{
   %currentWindow% := 255
}
if (%currentWindow% != 255)
{
   %currentWindow% += 5
   WinSet, Transparent, % %currentWindow%, ahk_id %active_id%
}
SplashImage,,w100 x0 y0 b fs12, % %currentWindow%
SetTimer, TurnOffSI, 1000, On
Return
!s::
SplashImage, Off
WinGet, active_id, ID, A
WinGet, currentWindow, ID, A
if not (%currentWindow%)
{
   %currentWindow% := 255
}
if (%currentWindow% != 5)
{
   %currentWindow% -= 5
   WinSet, Transparent, % %currentWindow%, ahk_id %active_id%
}
SplashImage,, w100 x0 y0 b fs12, % %currentWindow%
SetTimer, TurnOffSI, 1000, On
Return

TurnOffSI:
SplashImage, off
SetTimer, TurnOffSI, 1000, Off
Return
After you fire it up, Alt+f (f stands for 'fix spotify') will fix Spotify, enabling you to use the Windows snap commands!

Alt+w and Alt+s will control transparency of any running program. I haven't gotten Spotify to be interactive while transparent, so if you want to click on it you'll have to Alt+f it again.

Enjoy!

Be sure to check out my other blog and 3D-printed tech accessories site, techneesh. Follow me @tristech for occasional but interesting tweets.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in aero snap, fix spotify for windows hotkeys, normal window behavior spotify, spotify windows snap, windows snap-to | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to upgrade the SSD in your Samsung Series 9 NP900X4C or NP900X3B/C Ultrabook
    -----UPDATE------ If you'd like to see some photos of ultrabook internals (including what the mSata form factor looks like), see some of...
  • Use Milkdrop with Spotify - SOLVED
    So I decided to give Spotify a go a while back, and so far have been enjoying it. However, it really won't do to part ways with the best...
  • How to Fix the Lenovo Yoga Fan Noise & Upgrade SSD // RAM
    ~~Update - 1/13/2013~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After using the Yoga for almost two months, I am pleased to report that I a...
  • Isn't it about time you switched to a standing desk?
    The idea of switching to a standing desk has plenty of initial appeal, but isn't so easy to realize (it might seem). And the longer you ...
  • LED Light Staff (3d Printed Bo Staff w/LEDs)
    I've been looking for a new form of entertainment at music festivals (aside from the music) and decided Bojutsu might be fun. I came up ...
  • Build a bossy 3D Printer Cave #ikeahacks
    It started with a desire to reduce the noise and insulate the heat generated by my Replicator, but as techneesh grew, I found the need to h...
  • How to Make Pebble Watch Control Spotify on Android Using Bluetooth!
    I just got my Pebble watch today - which is awesome. I've been wanting an e-ink bluetooth bridge to my phone for a while now and when I ...
  • Predatorothology
    I'm in episode 3 of Hemlock Grove and got curious about the term 'predatorothology'. Then Google told me there were literally 0 ...
  • Scallion Pancakes!
    I really enjoyed living in San Francisco (albeit not as much as Ann Arbor, but that's a tale for a different blog), however, there was o...
  • Tired of manually clicking all the check boxes?
    Now that I have a bit of JS/jQuery under my belt, I've noticed I can do some pretty useful tricks on websites when the occasion arises. ...

Categories

  • 3d printing
  • 8gb ram
  • 8gb upgrade ram
  • aero snap
  • allgood
  • asana
  • bass head
  • bluetooth spotify
  • bo staff
  • bojutsu
  • bonnaroo
  • control spotify pebble
  • davincisnightmare
  • diy bo staff
  • electric forest
  • fix fan noise lenovo yoga
  • fix spotify for windows hotkeys
  • fix yoga fan noise
  • fix yoga keyboard stopping working
  • gmail
  • hacking
  • how to wall mount a computer
  • ikeahacks
  • keyboard mouse bug
  • led juggling balls
  • led staff
  • led toys
  • lenovo yoga
  • lenovo yoga fan noise
  • light-up juggling balls
  • makerbot
  • mba
  • music festival
  • normal window behavior spotify
  • np900x3b
  • np900x4c
  • pebble
  • pebble android
  • pebble bluetooth
  • pebble spotify
  • pebble watch
  • productivity
  • ram upgrade
  • rave gear
  • replicator
  • rothbury
  • samsung
  • samsung series 9
  • samsung ultrabook
  • sd slot
  • series 9
  • series 9 2012
  • share gmail with another page
  • solidoodle
  • spotify windows snap
  • ss9
  • task management
  • techneesh
  • thingiverse
  • ultrabook
  • upgrade samsung series 9
  • upgrade ssd
  • upgrade ssd yoga
  • upgrade yoga ram
  • wall mounted pc
  • wall-mounted computer
  • windows snap-to
  • workflowy
  • yoga fan noise
  • yoga grinding
  • yoga making noise
  • yoga pcie

Blog Archive

  • ►  2013 (7)
    • ►  October (1)
    • ►  May (2)
    • ►  April (1)
    • ►  February (3)
  • ▼  2012 (19)
    • ►  November (2)
    • ▼  October (2)
      • Force Gmail to share the tab with another page!
      • Fix Windows' Snap-To Hotkeys for Spotify AND Contr...
    • ►  September (1)
    • ►  July (3)
    • ►  June (1)
    • ►  May (3)
    • ►  April (6)
    • ►  March (1)
  • ►  2011 (4)
    • ►  November (1)
    • ►  September (3)
Powered by Blogger.

About Me

Unknown
View my complete profile