Main Menu

Time delay

Started by evilaro, May 01, 2013, 10:48:07 AM

Previous topic - Next topic

evilaro

Hi:

I use this format to read the Title of a image.

         run(false, 'exiftool.exe -T -r -L -Title "&MIMAGEN"  > resultado.csv' )

I will thing that after getting the title, it erases the file .csv, opens it again,
write the title on the file and closes it.

This takes on my computer about 1/4 s   .25 s

So, the next instruction that I want to use, of course I need to use the .csv file.

Some times it tell me that it is in use....

OK, I have put a delay .6s so my instruction does not get executed until
the file is ready... It seems fine....

Still, this gives me the chance to ask...

IN order for me to get the Title value, is it neccesary to do it, using a file??
Is there any simpler and faster way???

I understand that a file is a way that anybody can use...
but maybe you have another sistem... I use Windows.
Thanks for the help.

Emilio


www.evilfoto.eu
*************

Phil Harvey

Hi Emilio,

Virus scanners have an effect like this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).