Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 6 of 6
  1. #1
    turn2's Avatar
    turn2 is offline Registered User
    Join Date
    Jan 2003
    Location
    Heartland
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Quicktime applescript ??

    From an Applescript novice... Using a "MacAddict" article as a guide I made an application with Applescript that has Safari open my 4 favorite web sites.

    I would like to add to this script. I would like to open Quicktime to start the NPR live newscast stream (or any other).

    All attempts so far open QT 5 in Classic instead of 6. No attempt has opened the stream.

    Anyone care to tackle this???

  2. #2
    Trip's Avatar
    Trip is offline Registered User
    Join Date
    Sep 2001
    Location
    Utah
    Posts
    3,266
    Thanks
    0
    Thanked 1 Time in 1 Post
    Something along the lines of this:


    tell application "QuickTime Player"
    getURL "http://the stream"
    play
    end tell

  3. #3
    turn2's Avatar
    turn2 is offline Registered User
    Join Date
    Jan 2003
    Location
    Heartland
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yup, that does the trick. However, The stream is still opening in QT5 (Classic) rather than QT6.

    How do I get around this?

    I can't seem to find any solutiuon in System Preferences or QT Prefs.

  4. #4
    Trip's Avatar
    Trip is offline Registered User
    Join Date
    Sep 2001
    Location
    Utah
    Posts
    3,266
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hum...there should be someway to change your default version of QuickTime. I'm not sure though, i'll look around and let you know if something comes up.

    [EDIT: Are you sure you have only the copy of quicktime 6 installed?]

  5. #5
    turn2's Avatar
    turn2 is offline Registered User
    Join Date
    Jan 2003
    Location
    Heartland
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have QT 6.1 Pro, which works fine the rest of the time. When I open .mov or .mpg files they open in Jaguar. Classic (installed on a separate hard disk) has a copy of QT 5.0.2. This is the QT Player that opens when I try to run this new script. (Should I just delete that QT on the Classic Drive?!?)

    I have adapted the script you recommended to use RealPlayer instead of QuickTime, so I accomplished what I set out to do. It sure would be nice to solve the QT snafu though.

    Thanks for the help!

  6. #6
    Trip's Avatar
    Trip is offline Registered User
    Join Date
    Sep 2001
    Location
    Utah
    Posts
    3,266
    Thanks
    0
    Thanked 1 Time in 1 Post
    Sorry, i really can't help you with the problem.
    Good luck in the future there buddy!

 

 

Similar Threads

  1. QuickTime Crashes
    By jeepster485 in forum Design & Media
    Replies: 0
    Last Post: June 3rd, 2003, 10:41 PM
  2. Internet Explorer will NOT play QuickTime
    By TommyWillB in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: May 3rd, 2003, 10:00 PM
  3. QuickTime Streaming Server 4.1 to debut soon?
    By simX in forum Apple News, Rumors & Discussion
    Replies: 2
    Last Post: July 22nd, 2002, 07:45 PM
  4. AppleScript front end to a shell script?
    By meancode in forum Mac OS X System & Mac Software
    Replies: 0
    Last Post: March 17th, 2002, 08:25 PM
  5. Quick
    By tagliatelle in forum Apple News, Rumors & Discussion
    Replies: 1
    Last Post: February 9th, 2002, 06:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •