Women in Technology

Hear us Roar

  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.
Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Matthew Russell photo Doesn't work
    2005-03-19 15:22:22  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

    From the header of the daemon script:

    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?


    • 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
      • Matthew Russell photo Doesn't work
        2005-03-19 15:36:44  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [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.

        • 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.