Mac Help Forums


Reply
Thread Tools Display Modes

exporting hinted movies to a determined filename (AMATEUR)!

 
New Member
Join Date: Apr 2006
Posts: 2
 
      30th April 2006
Dear Forum!

I'm working on an AppleScript droplet to take a series of mp3 files that I have and convert them all to Hinted Movie format using QuickTime Pro. The code as I have it works fine now, but it is not perfect. I'm hoping somebody could help me with two things:

(here's my code, to begin with)
Open this Scriplet in your Editor:

on open of movs
set sl to ((choose folder with prompt "Save hinted movies to:") as text)
tell application "QuickTime Player"
activate
repeat with i from 1 to number of items in movs
set this_item to item i of movs
open this_item
set save_location to sl & (get name of movie 1) & ".mov"
export movie 1 to save_location as hinted movie using default settings
close movie 1 saving no
end repeat
end tell
end open
As a droplet, I would like to be able to drop several files on it at once and not have to specify the save location. I have experimented with getting the path of the dropped file, and using that as a jumping off point to extract just the component folder, but it gives me an error when I need to convert it to text.

Also, it doesn't return the exact file name that I want.

For example, if i'm dropping
1_2_Committee_Talks.mp3

ideally, i would like to have 1_2_Committe_Talks.mov returned to me in the same folder. But as the script works right now, it would just return "Committe Talks.mov"

If you have any suggestions please help! Thanks.
 
Reply With Quote
 
 
 
 
Ric Ric is offline
Senior Member
Ric's Avatar
Join Date: May 2004
Posts: 4,260
 
      2nd May 2006
Hi there and welcome !

before I jump in, what version of OS X are you using ?

(oh and by the way, we'll all amateurs, ;-) )

regards

Ric
 
Reply With Quote
 
New Member
Join Date: Apr 2006
Posts: 2
 
      2nd May 2006
I'm using OS X 10.4.6

If you need any more information, just let me know.


--- You wrote:
(oh and by the way, we'll all amateurs, ;-) )
--- end of quote ---
haha thanks :-)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Technical Note: Exporting Movies for iPod and Apple TV Newsbot Apple Developer News 0 26th March 2007 09:01 PM
Macs in Amateur Astronomy Davoud Mac 12 13th February 2005 05:00 PM
Macs in Amateur Astronomy Davoud Apps 12 13th February 2005 05:00 PM
Question for Serious Amateur / Professional Photographers John Carrana UK Macs 8 21st May 2004 02:26 PM
AS Amateur - How can I set a file name to a date? - HELP! Nub AppleScript 10 19th November 2003 04:18 AM


All times are GMT +1. The time now is 11:46 PM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Yikes! Teacher needs help!
Mollyc4627 (2 Hours Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (5 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (7 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (8 Hours Ago, 03:31 PM)

Best car charger or inverter for Macbook Pro?
imeme87 (8 Hours Ago, 03:22 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51