New free OS X program to disable spacebar

Discussion of music production, audio, equipment and any related topics, either with or without Ableton Live
bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

New free OS X program to disable spacebar

Post by bigbadotis » Tue Jan 18, 2011 8:55 pm

I don't know if something like this already existed, but someone asked for it this morning in a thread and it seemed like a simple thing to program, so I went ahead and did it. I wanted to learn a little bit more about CGEventTaps so it was a good exercise.

It just has a button to turn the spacebar on and off. You need to have "Enable access for assistive devices" enabled in the Universal Access system preferences for it to work, or run it as root... those are the only ways you're given permission to intercept the keystrokes.

http://www.charlie-roberts.com/misc/SpaceBlocker.zip

Hope it's helpful to people. - Charlie

bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

Re: New free OS X program to disable spacebar

Post by bigbadotis » Tue Jan 18, 2011 8:57 pm

actually, it looks like that post asking for the blocker was made in 2006. I might be a little late...

oblique strategies
Posts: 3578
Joined: Thu Nov 02, 2006 9:57 pm
Location: Another Green World

Re: New free OS X program to disable spacebar

Post by oblique strategies » Wed Jan 19, 2011 5:30 am

Very cool. Thank you :D

seattletruth
Posts: 402
Joined: Tue Dec 28, 2010 12:20 am

Re: New free OS X program to disable spacebar

Post by seattletruth » Wed Jan 19, 2011 5:45 am

i dont quite get why you want to block spacebar?

bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

Re: New free OS X program to disable spacebar

Post by bigbadotis » Wed Jan 19, 2011 6:21 am

seattletruth wrote:i dont quite get why you want to block spacebar?
You're lucky, that means you've never accidentally hit it during the middle of a DJ set... :)

pink noise
Posts: 2
Joined: Wed Nov 19, 2008 8:21 pm

Re: New free OS X program to disable spacebar

Post by pink noise » Fri Jan 21, 2011 5:00 am

amazing, i've been looking for something like this for years!

Is there any way you could make it enabled by default?
I have an automator script that launches a max patch and uses a certain ableton preferences file for all my midi routing. I added this program to the list but when I launch it i still have to enable it, its not a big deal but i could probably forget to enable it at some point.

thanks! :)

p.s. I lived in santa barbara for around 4 years when i went to brooks 04-08

bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

Re: New free OS X program to disable spacebar

Post by bigbadotis » Fri Jan 21, 2011 6:34 am

pink noise wrote:amazing, i've been looking for something like this for years!

Is there any way you could make it enabled by default?
I have an automator script that launches a max patch and uses a certain ableton preferences file for all my midi routing. I added this program to the list but when I launch it i still have to enable it, its not a big deal but i could probably forget to enable it at some point.

thanks! :)

p.s. I lived in santa barbara for around 4 years when i went to brooks 04-08
Sure. I was too lazy to make a preference pane so I just compiled a separate application.

http://www.charlie-roberts.com/misc/Spa ... nabled.zip

Santa Barbara is slow paced, but amazingly beautiful...

oblique strategies
Posts: 3578
Joined: Thu Nov 02, 2006 9:57 pm
Location: Another Green World

Re: New free OS X program to disable spacebar

Post by oblique strategies » Fri Jan 21, 2011 8:18 am

Great - even better than the first one! Thanks


bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

Re: New free OS X program to disable spacebar

Post by bigbadotis » Fri Jan 21, 2011 10:11 pm

Captain Johnson wrote:how does it work???.......... tell me how it works????
Not sure I understand the question... you start the app, your spacebar is blocked. Quit the app (or press the appropriate button in the minimal app GUI) and the spacebar works again. As mentioned earlier, you have to have "Enable access for assistive devices" checked in the Universal Access system preferences in order for it to work correctly. Or run it as root.


wobbleLF
Posts: 22
Joined: Sat Feb 21, 2009 6:38 pm

Re: New free OS X program to disable spacebar

Post by wobbleLF » Sat Feb 26, 2011 4:28 am

You really just need to hit the ext switch in the upper left of the screen once you start playing to disable the spacebar. Then whatever you have set to control live in your midi prefs will what Live listens for.

bigbadotis
Posts: 836
Joined: Fri May 30, 2003 10:31 pm
Location: rochester, ny
Contact:

Re: New free OS X program to disable spacebar

Post by bigbadotis » Sat Feb 26, 2011 7:44 am

Yeah, that works... if you have an actual external sync you can use to change tempo. Otherwise, with external sync enabled, you can't change tempo except by tapping. Right?

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: New free OS X program to disable spacebar

Post by toscanini » Sat Nov 15, 2014 1:32 am

Just found this, fantastic, thank you!

maybenot
Posts: 6
Joined: Mon Jul 28, 2008 7:12 am

Re: New free OS X program to disable spacebar

Post by maybenot » Thu Jun 21, 2018 5:24 am

anyone know if there is an updated version of space blocker??

it crashes on High Sierra

Post Reply