Results 1 to 2 of 2
  1. #1

    Conehead778's Avatar
    Member Since
    Jun 10, 2005
    Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4
    applescript help
    Hey guys im trying to have a script that converts my .mov's to mpeg4. I have a script that converts them the only problem is i cant seem to get it to take on the settings i would like it too

    tell application "QuickTime Player"

    if not (exists movie 1) then error "No movies are open."

    stop every movie

    set the movie_name to "mytest.mp4"
    if (can export movie 1 as MPEG4) is true then
    set thesettings to "Macintosh HD: johndoe: Desktop: set1test"
    set the new_file to
    choose file name with prompt "Enter a name:" default name movie_name
    export movie 1 to new_file as MPEG4 using settings thesettings

    end if

    end try
    end tell
    This is my script notic the "thesettings" part is trying to call on a file that was suppossed to be the export settings saved. If anyone can help I would appreciate it!

  2. #2

    surfwax95's Avatar
    Member Since
    Aug 27, 2005
    Fayetteville, AR
    15" Powerbook G4 24" iMac iPhone 3Gs
    Try changing this line:

    Macintosh HD: johndoe: Desktop: set1test

    to this:

    Macintosh HD: Users: JohnDoe: Desktop: set1test


    Also, you may want to change this line:

    if not (exists movie 1) then error "No movies are open."

    to this:

    if not (exists movie 1) then display dialog "No movies are open."
    I try to Command+Shift+/ when I can.
    They're - Their - There | Two - Too - To | You're - Your | MAC - Mac
    I was on the M-F honor roll for October, 2006.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Applescript
    By EdMarx in forum OS X - Apps and Games
    Replies: 0
    Last Post: 02-10-2012, 05:06 AM
  2. Applescript
    By SgtDave in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 01-19-2011, 04:50 PM
  3. Applescript help please?
    By thtguyjosh in forum OS X - Apps and Games
    Replies: 8
    Last Post: 08-22-2010, 08:22 PM
  4. Applescript
    By nixonbw in forum OS X - Operating System
    Replies: 0
    Last Post: 07-17-2008, 08:00 PM
  5. AppleScript
    By TehHero in forum OS X - Apps and Games
    Replies: 0
    Last Post: 01-26-2008, 10:46 PM

Posting Permissions

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