• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting MOD files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting MOD files


  • Subject: Re: Converting MOD files
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 11 May 2007 07:20:31 -0700

On May 11, 2007, at 5:26 AM, Peter Baxter wrote:

I have been working with Camcorders recently and find the MOD files that they produce an absolute pest.  Changing the form into a dv file is time consuming and very inefficient with the supplied software.  Does anyone have a translation script to batch convert folders of MOD files?

If all that this involves is changing the file extension, and not the data, this will do it.

set foo to choose folder
tell application "Finder"
set bar to (files of foo whose name extension is "mod")
try
set bar to bar as alias list
on error
set bar to {bar as alias}
end try
repeat with foobar in bar
if the extension hidden of foobar is false then
set flag to false
else
set flag to true
end if
set the extension hidden of foobar to true
set the name of foobar to the displayed name of foobar & ".dv"
if flag is false then set the extension hidden of foobar to false
end repeat
end tell

--
There is hardly anything in the world that some man can't make a little worse and sell a little cheaper, and the people who consider price only are this man's lawful prey.-- John Ruskin


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Converting MOD files
      • From: Peter Baxter <email@hidden>
References: 
 >Converting MOD files (From: Peter Baxter <email@hidden>)

  • Prev by Date: RE: Quark issue with grouped box & bounds [follow-up]
  • Next by Date: Re: Quark issue with grouped box & bounds
  • Previous by thread: Converting MOD files
  • Next by thread: Re: Converting MOD files
  • Index(es):
    • Date
    • Thread