QT7/applescript problem
QT7/applescript problem
- Subject: QT7/applescript problem
- From: James Weisbin <email@hidden>
- Date: Mon, 16 May 2005 16:59:30 -0400
I copied and tweaked Apple's script to convert Quicktime movies to a DV stream. This script worked with Quicktime 6 but breaks in QT 7 (not running Tiger!). Something to do with the way pathnames are returned. These are the lines that break:
tell application "Finder"
set the file_name to the name of the original_file
set the target_folder to the container of the original_file
This used to return this under QT6:
tell application "Finder"
get name of alias "Server HD:Users:admin:Desktop:04.12_ADP.mov"
"04.12_ADP.mov"
get container of alias "Server HD:Users:admin:Desktop:04.12_ADP.mov"
folder "Desktop" of folder "admin" of folder "Users" of startup disk
end tell
But now returns this under QT7 (never gets to the "get container" line, but that errors also):
get original file of movie 1
"/Users/jsw/Desktop/test/Lexus for AB with TC.mov"
"Can't get name of \"/Users/jsw/Desktop/test/Lexus for AB with TC.mov\"."
The weird thing is, this is a call to the Finder, not to QT - so why won't it work anymore?
Any help would be appreciated.
Thanks.
Jim Weisbin
<x-tad-bigger>human
</x-tad-bigger><x-tad-smaller>138 5th avenue. 3rd floor, nyc, ny 10011
telephone 212 352 0211
facsimile 212 352 0210
</x-tad-smaller><email@hidden><x-tad-smaller>
</x-tad-smaller>http://www.humanworldwide.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden