Re: Opening a movie in Quicktime Player with a macro
Posted by dscho on Aug 06, 2007; 1:36am
URL: http://imagej.273.s1.nabble.com/Opening-a-movie-in-Quicktime-Player-with-a-macro-tp3698673p3698674.html
Hi ho,
On Sun, 5 Aug 2007, aRnim wrote:
> is there a way to open movies with the quicktime player using a macro?
> When I do this manually (File>Import>QuickTime Player ...) I get nothing in
> the Recorder window unless I close the quicktime window. And than it just
> records run("QuickTime Player...");. no path to the movie which was opened.
> If I call that from a macro, I just get an 'Open File...'-Dialog at which
> stands at the last position I opened a movie from. That doesn't help me too
> much.
As far as I can tell from reading the source of the plugins I have here
(QuickTime_Plugins.jar), you should be able to specify the file name with
run("QuickTime Player...", "open=[/path/to/movie.mov]");
I cannot test, unfortunately, because QuickTime does not run on my setup.
> How do I make the quicktime player open a certain file from a certain
> position?
Hmm. As far as I know, there is no such option.
Hth,
Dscho