John, How right you are before I gave it up I was a UNIX programer. That was 20 years ago. I try to stay away from terminal, need to learn all about GUI. Some times you have to drop back to the old ways. Thank you John.
On Nov 5, 2010, at 3:16 PM, Jonathan Cohn wrote: > for MusicFile in *.mp3 ; do > open -w -a quicktime$MusicFile > done > > > OK, the above is a quick bash shell loop that goes through every mp3 > file in the current directory one at a time and sends it to the open-w > -a > > The open command is quite impressive, it can open web pages or text > files or code samples. You can force applications with either the -a > or -b > (application and bundle) > I believe the bundle id for quicktime would be com.apple.quicktime so > in the above example, replacing "-a quicktime" with "-b > com.apple.quicktime" should perform the same function. > > The -w option above tells open to prevent additional calls to open > until the quicktime applcation exits. > > It might (I say might) be possible to send mp3 directly to /dev/audio, > I am fairly sure I have done this on some unix variant > > n that case... > > cat *.mp3 > /dev/audio > > would do the trick. > > Gee, isn't UNIX fun. > > Jon > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > louie [email protected] -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en.
