Re: idle script not working
Re: idle script not working
- Subject: Re: idle script not working
- From: Kevin Meaney <email@hidden>
- Date: Sun, 8 May 2005 18:08:49 +0100
Sorted,
User error.
Kevin
On 7 May 2005, at 13:11, Kevin Meaney wrote:
G'day all,
I have had a request to create a script using iMagine Photo that will
convert image files generated from a server farm of G5 computers all
running Adobe's After Effects programs into a movie.
Currently this guy is using Quicktime to do the job, but he has to
wait before starting the conversion using Quicktime until all the
files have been generated. He wanted to be able to start processing
immediately and have the movie created soon after the last image has
been generated on the server farm.
When I put together a script that did the processing, including
capturing the alpha channel information of all image files in a folder
and creating a movie (basically replicating what was happening using
Quicktime), everything worked as expected.
But as soon as I try to make the script work using an idle handler it
just doesn't seem to work. It works for me when I test it as best I
can but not for the guy rendering the images.
When I test the script by just dropping the image files a few at a
time into a folder the script seems to work as expected. The script
idles, checks the folder every now and then processes the files it
knows have been completely rendered and ignores other files. Then
finally creates a movie.
The script decides a file is ready to be processed if the next file
from the same image renderer has been created. If no new files have
arrived in the last few times the idle handler in the the script has
been called the idle handler assumes that the rendering of images has
finished and then processes the last image files.
If you are prepared to look into this for me, you can download iMagine
Photo and the script in question from the following links:
http://www.yvs.eu.com/downloads/iMaginePhoto.dmg
http://www.yvs.eu.com/download/moviescript5.zip
I am finding this really frustrating as this is one of the areas I had
in mind when developing iMagine Photo that I thought it would be
really helpful to users. I really want to see iMagine Photo being used
to do these sorts of jobs but it is not going to happen if I can't get
the script right.
Thanks in advance.
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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