Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

scripting Quicktime to convert images to jpg

 
   Mac (Home) -> Apple Scripts RSS
Next:  Cc$SL We're "Outing" The Snake Oil Guru..  
Author Message
drillbit_99

External


Since: Jun 11, 2005
Posts: 6



(Msg. 1) Posted: Sat Jun 11, 2005 4:32 pm
Post subject: scripting Quicktime to convert images to jpg
Archived from groups: alt>comp>lang>applescript (more info?)

Here is a droplet that I am working on to have Quicktime translate
still images generated by iMovie into JPG images that can be imported
into iPhoto.

on open (theList)
tell application "Finder"
repeat with x in theList
if {"disk", "folder", "alias"} does not contain kind of x then

tell application "QuickTime Player"
set this_image to open x
export this_image to x as picture using most recent settings with
replacing
close windows
end tell

set thefilename to (item x of theList) as text
set the name of file thefliename to thefilename & ".jpg"

end if
end repeat
end tell
end open

This droplet fails when I am trying to rename the files. I would like
to change the names of the files from "Still 01" to something like
"myname 01.jpg". I am having problems just adding ".jpg" to the
original name. I thought this would be simple.... not simply
impossible.

Can anyone help? Thanks.
Back to top
Login to vote
Michelle Steiner

External


Since: Aug 30, 2005
Posts: 1352



(Msg. 2) Posted: Sat Jun 11, 2005 9:45 pm
Post subject: Re: scripting Quicktime to convert images to jpg [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
Display posts from previous:   
Related Topics:
MacSoup Scripting Help - OK Guys Can someone write me a script to make MacSoup check for new posts every 2 minutes. I've been trying for the last two days and frankly it's getting embarrassing. I've had more compiling errors than I'm willing to own up to :-) -- Gareth Slee

Finder scripting sluggish? - Since I updated to 10.4.11, the following command, which used to run in an imperceptible amount of time, now takes several seconds on my dual 2.5 GHz G5: tell application "Finder" to get processes Anyone able to reproduce this? -- Jerry Kin...

URL Access Scripting for download - Hi, I have to download files from an URL in Applescript. I use URL Access Scripting, which usually works fine, but not in the present case (Proxy ? I have heard that URL Access Scripting doesn't use proxy settings...) However, my customer has correct..

- Item Numbers-SUPER MISC (0/1) Need Help on Scripting Pro.. - Tuesday, July 1, 2008 5:32:26 AM Hello! I regularly use Hypercard as the front end while passing commands to AppleScript. Here's my problem: I want to load a Microsoft Word document with data. The real problem is that the Word document is made...

How to convert a VBA class to Applescript - Hi, Does Applescript have a class construct mirroring the class construct in VBA? Suppose I have a module named MYDBC in VBA with this code: Option Explicit Dim propDatabase As String Public Property Get Database() As String Database =..
       Mac (Home) -> Apple Scripts All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact