Re: Path from open document to application
Re: Path from open document to application
- Subject: Re: Path from open document to application
- From: Michelle Steiner <email@hidden>
- Date: Fri, 9 Mar 2001 23:02:29 -0800
On 3/9/01 8:14 PM, Dale Saukerson <email@hidden> wrote:
>
>tell application "QuickTime Player"
>
> set the movieFile to the original file of movie 1 of the front window
>
>end tell
>
>tell application "Finder"
>
> set the label index of the movieFile to 0
>
>end tell
>
>
>
My goodness....I was expecting a complicated workaround and a few
>
days of debugging. I forsee frequent use of the term "original file".
>
>
I am humbled.
Shucks; t'weren't nothin' ma'am (er, sir).
Seriously, I just looked in the QuickTime Player dictionary until I found
what worked. I didn't realize that a window could have more than one
movie at first, but fiddling around came up with the solution. I also
figured that, as with most applications, there has to be a link to the
source file of any saved open window, so I kept looking until I found how
the QT Player defined it.
I think I'm going to play around to see what happens if there is more
than one movie associated with a window.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------