Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > MacCar > AMP


Reply
 
Share Thread Tools Display Modes
Old 04-15-2008, 02:24 PM   #1
Low Bitrate
 
thanassius's Avatar
 
Join Date: Apr 2006
Location: Maryland
Posts: 83
thanassius is on a distinguished road
AMP and Griffin Powermate

I use a Powermate for my primary volume control, and it's fantastic. Right now, pressing the button mutes the system volume. I'd like to program it to pause AMP when I press the button.

Since Griffin's preference pane doesn't know what AMP is, there's no easy way to do this (like it's iTunes controls).

I'm horrible at coding, but I would image that it's possible to determine what happens when you press the pause icon in AMP, and replicate that action as an AppleScript or something that the Powermate preference pane can understand.

Any ideas?
__________________
iDub Status:

99.99% -- It's alive!!!...the extra .01% is because it'll never be completely "done."
thanassius is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-15-2008, 02:31 PM   #2
Variable Bitrate
 
NeonDev's Avatar
 
Join Date: Feb 2008
Posts: 431
NeonDev is an unknown quantity at this point
try right clicking AMP and show package contents somewhere in the resources folder there should be some .nib files find the one with the pause button and assign that button a key equivalent and see if that does the trick

You will need interface builder which is available on your os x disk
__________________
check us out at: www.neonboombox.com

Last edited by NeonDev; 04-15-2008 at 02:33 PM.
NeonDev is offline   Reply With Quote
Old 04-15-2008, 04:20 PM   #3
Low Bitrate
 
thanassius's Avatar
 
Join Date: Apr 2006
Location: Maryland
Posts: 83
thanassius is on a distinguished road
Thanks NeonDev, I completely forgot about the .nib files. I'll give that a try.
__________________
iDub Status:

99.99% -- It's alive!!!...the extra .01% is because it'll never be completely "done."
thanassius is offline   Reply With Quote
Old 04-15-2008, 08:18 PM   #4
Low Bitrate
 
thanassius's Avatar
 
Join Date: Apr 2006
Location: Maryland
Posts: 83
thanassius is on a distinguished road
Ok, there's 3 .nib files in AMP>Contents>Resources>English.lproj>MainMenu.nib and no matter what I try, I can't get Interface Builder to open any of them. It just keeps telling me that it can't open them. Any suggestions? I'm doing this on a 1.5GHz G4 Mac mini running OS X 10.4.11
__________________
iDub Status:

99.99% -- It's alive!!!...the extra .01% is because it'll never be completely "done."
thanassius is offline   Reply With Quote
Old 04-15-2008, 09:26 PM   #5
Variable Bitrate
 
NeonDev's Avatar
 
Join Date: Feb 2008
Posts: 431
NeonDev is an unknown quantity at this point
thats odd... I just checked a build for Neon Boombox and the nib files open, maybe amp is configured to disallow that... my only suggestion is to download the source code and change it in the source nib and compile it... very strange
__________________
check us out at: www.neonboombox.com
NeonDev is offline   Reply With Quote
Old 04-16-2008, 03:12 AM   #6
Newbie
 
tjipke's Avatar
 
Join Date: Apr 2008
Location: the Netherlands
Posts: 5
tjipke is an unknown quantity at this point
I also have problems opening them on my 10.4 machine. No problems though on 10.5 with XCode 3.
tjipke is offline   Reply With Quote
Old 04-16-2008, 04:01 PM   #7
Low Bitrate
 
thanassius's Avatar
 
Join Date: Apr 2006
Location: Maryland
Posts: 83
thanassius is on a distinguished road
thanks guys!

tjipke - I installed Xcode 3 on one of my Leopard machines and it ran great.

NeonDev - Took me a few minutes to find that I had to open the inspector in Interface Builder to add a key equivalent, but I got it and it works!

One last thing. I can open and save the .nib from an already compiled copy of AMP, with no problem, and it's great. However, I have the source code for a slightly more current version (not 2.0, but 1.4 I think?). I open that version's Xcode project, launch Interface Builder, make my changes and save. That's all fine, but when I go back into Xcode to compile it, the option is grayed out. It builds and runs successfully, but I don't know how to compile it.

Thank you!
__________________
iDub Status:

99.99% -- It's alive!!!...the extra .01% is because it'll never be completely "done."
thanassius is offline   Reply With Quote
Old 04-16-2008, 08:19 PM   #8
Variable Bitrate
 
NeonDev's Avatar
 
Join Date: Feb 2008
Posts: 431
NeonDev is an unknown quantity at this point
building a program is roughly the same as compiling it. building refers to compiling all the code linking it and bundling it and prolly more.

set your build settings to "release" and you will find the application in the build subfolder for the project
__________________
check us out at: www.neonboombox.com
NeonDev is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-17-2008, 08:27 AM   #9
Low Bitrate
 
thanassius's Avatar
 
Join Date: Apr 2006
Location: Maryland
Posts: 83
thanassius is on a distinguished road
Again, thank you so much, that's what I was missing. I appreciate all of your help!
__________________
iDub Status:

99.99% -- It's alive!!!...the extra .01% is because it'll never be completely "done."
thanassius is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iTunes vs Amp : sound quality natedawgg MacCar 5 05-10-2007 07:32 PM



All times are GMT -5. The time now is 01:45 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics