| Article: |
Build an iTunes Remote Control | |
| Subject: | Doesn't work | |
| Date: | 2005-03-19 15:15:19 | |
| From: | Cool6324 | |
|
Response to: Doesn't work
|
||
| It still isn't working. Should I place a command before the file in terinmal before running, I dont see it in the lists of running items. | ||
Showing messages 1 through 5 of 5.
-
Doesn't work
2005-03-19 15:22:22 Matthew Russell |
[View]
-
Doesn't work
2005-03-19 15:31:10 Cool6324 [View]
Sorry for the noob questions what's ampersand and where should I write that? Do you have AIM? If so mines is AIM: Seanpaul316 -
Doesn't work
2005-03-19 15:36:44 Matthew Russell |
[View]
Ampersand is "&" --the thing that's in the usage line that sets the script to run in the background. It's a standard terminal thing.
Try skipping the ampersand for now. Just get the script to run. If you run the script and it keeps your prompt, it's running. Open up another terminal window and go about doing other things. When you're satisfied that things are running, you can use the ampersand and have one less window open.
M. -
Doesn't work
2005-03-19 15:58:12 Cool6324 [View]
Works great, I just restarted and it ran script again, works good. Will this automatically work after a restart?
BTW, I'm using a Motorola i730, Nextel, with basic WAP service. Works nice.
TIP: When you want to use the same command more than once, ie. Fast Foward it's better to use the reload button.
And last, THANKZ!!! I also learned alot about the way the terinmal works. -
Doesn't work
2005-03-19 16:14:44 Matthew Russell |
[View]
You need to fire up the daemon each time you restart unless you configure your login scripts to do it for you.
Here's a good lead that should help you at http://www.bombich.com/mactips/loginhooks.html
I'm glad you go this working. Hard work always pays off.
M.



Usage: prompt$./iTunesRemoteControlDaemon.scr &So what this assumes is that you're in the same directory as this script (and that you've set it to be executable with "chmod u+x"). Just like any other script, when you type in ./someScriptName, it will execute if it's executable. Placing the ampersand should return your prompt to you. At that point, if you type in "ps -aux | grep iTunesRemoteControlDaemon.scr", you should see it without having to filter through anything.
Does that work for you?
M.