Topic: Initiate playing of stream with Cog from applescript

Hi - I am a new user to Cog and I like it alot.  I listen to an OGG stream nightly and it sounds the best when played with Cog.  One question...I'd like to be able to launch and play my stream automatically by using an applescript.  is there a way to do that?  I can start Cog OK from an applescript, but I can't figure out a way to send my URL to it and tell it to play.  Any ideas are appreciated!

Re: Initiate playing of stream with Cog from applescript

can you add the url as an argument when opening cog?

Re: Initiate playing of stream with Cog from applescript

I'm not really sure how that's done with applescript...but I tried it on the command line and had no luck.  But even if I could pass it in as an argument, Cog doesn't appear to automatically play streams, "Play" must be pressed.  So the applescript would need to do two things...get Cog to accept the URL and get Cog to play it.