Open a URL, but without a browser.

Hxc

Hxc

Soldato
Joined
29 Oct 2004
Posts
12,501
Location
London
Hi all

Got a slightly odd one here.
Currently trying to make me a working version of foobar for OSX, as literally nothing comes close to it as a good music player on Mac. I've got it all running nicely but there's no easy way to do global hotkeys... although I've found a way to remotely manage playback via a http interface, which in itself takes commands.

Basically, I want to execute http://127.0.0.1:8888/ajquery/?cmd=PlayOrPause&param3=NoResponse without opening a browser window. I just need to pass those parameters to that port and directory.

Is there any way of doing this? I'm struggling :(
 
Running it under Wineskin, runs perfectly but I need global hotkeys to make it worthwhile.

Curl runs it within terminal, just what I needed! Now to code a script for it :)

This has worked perfectly... I can't use media keys but I can use F13, F14 and F15 instead.

It's heavenly to have a good audio player again.
 
Last edited:
I'm using the full wired keyboard when I have my Macbook Air sat at home. When I'm on the move I'm going to have to work something out, probably map them to alt+1 or something like that. Having to use foo_httpcontrol in order to get hotkeys at all, hence my requirement of applescript.

The media keys are annoyingly tied in with OS X and I can't find a way to free them and use them separately :(
 
Back
Top Bottom