• 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
QT7/applescript problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: alis ???
  • Next by Date: Re: alis ???
  • Previous by thread: Re: How to get parameter item of a string in a list
  • Next by thread: Re: QT7/applescript problem
  • Index(es):
    • Date
    • Thread