ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Build an iTunes Remote Control
Subject:   I wrote this, And it doesn't work.
Date:   2005-03-20 11:56:22
From:   Cool6324
Response to: I wrote this, And it doesn't work.

Works Great, I'm going to write one to close iTunes, now. This is so kool, I always wanted to do this too. Now, I want to have a script that Auto-Starts the deamon, from the dock, and I have done done so, but terminal just locks. So that "&" where would I put it so terminal doesn't hang.


tell application "Terminal"
do shell script "sudo /Library/WebServer/CGI-Executables/iTunesRemoteControlDaemon.scr" password "xxxx" with administrator privileges
end tell


But again terminal locks.


1 to 1 of 1
  1. Matthew Russell photo I wrote this, And it doesn't work.
    2005-03-20 15:00:23  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

    • I wrote this, And it doesn't work.
      2005-03-20 15:49:46  Cool6324 [View]

1 to 1 of 1