Re: Dumb Finder scripting question
Re: Dumb Finder scripting question
- Subject: Re: Dumb Finder scripting question
- From: Ed Stockly <email@hidden>
- Date: Sun, 16 Dec 2007 09:51:28 -0800
>>> It's just a case of my script having to compute something that it should, in a sensible world, be getting from the app instead.
That's the whole chicken and egg thing for appleScript on this list. How much should the apps do and how much should scripters. Why not be mildly annoyed that there's not a single command to convert avi files to mov file if there's not already a mov file with the same name in the same directory?
I find it interesting that "close doc" works for you; when I tried, I got 'AppleScript Error: QuickTime Player got an error: Can't get document " filename.avi"'. I'm on 10.5.1 running QuickTime Pro version 7.3.0. How about you?
Hmmm. 10.4.1, QT 7.3, but I don't think that's it, your script may not work on my avi files.
All the .avi files on my mac were created by the same camera. They all have a digital cameraesque name, but, when opened in quicktime the window name is not the same as the file name and the window name does not change after the app does the save as. (They're very small files, i can email offline if you want to test).
Unless you're getting your files from the same place consistently, you may have some issues with this script.
Both of these work OMM
tell doc save self contained in POSIX file movPath close end tell
or
close window 1
HTH,
ES =
|
_______________________________________________
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