Results 1 to 2 of 2

Thread: applescript help

  1. #1

    Conehead778's Avatar
    Member Since
    Jun 10, 2005
    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
    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 macOS - Apps and Games
    Replies: 0
    Last Post: 02-10-2012, 05:06 AM
  2. Applescript
    By SgtDave in forum macOS - Development and Darwin
    Replies: 6
    Last Post: 01-19-2011, 04:50 PM
  3. Applescript help please?
    By thtguyjosh in forum macOS - Apps and Games
    Replies: 8
    Last Post: 08-22-2010, 07:22 PM
  4. Applescript
    By nixonbw in forum macOS - Operating System
    Replies: 0
    Last Post: 07-17-2008, 07:00 PM
  5. AppleScript
    By TehHero in forum macOS - 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