More automation: Watched folders, automatic start

XnConvert Multi Platform - Windows, MacOSX, Linux
thorsted
Posts: 4
Joined: Tue Apr 09, 2013 8:28 pm

More automation: Watched folders, automatic start

Post by thorsted » Mon Aug 05, 2013 3:00 pm

There are so many great tools and functions within XnConvert. Are they are plans to add more automation?

For example:

Hot Folder/Watched folders. Being able to drop images into a folder set to certain presets and have the images convert automatically would be ideal.
Auto Start. Have another application launch XnConvert when it is finished processing an image and have XnConvert start automatically. Currently images just go into a queue until the convert button is pressed.

Thanks.

Thorsted

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview » Fri Oct 18, 2013 7:07 am

thorsted wrote: Auto Start. Have another application launch XnConvert when it is finished processing an image and have XnConvert start automatically. Currently images just go into a queue until the convert button is pressed.
So to be able to start a external program after EACH converted image?
Pierre.

User avatar
helmut
Posts: 8214
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: More automation: Watched folders, automatic start

Post by helmut » Fri Oct 25, 2013 6:40 pm

If I understood right the idea is to have XnConvert running (in the background) and watching specific folders. Whenever the user or an application saves a new file in that folder XnConvert will detect the new file and start a specific action, e.g. convert that new file into a specific format or performa some other action. Right, Thorsted?

A second way this might work:
Application A runs and places files in one or several folders. When exiting application A starts XnConvert and XnConvert will detect the new files in the observed (hot) folders and start a previously defined action.

thorsted
Posts: 4
Joined: Tue Apr 09, 2013 8:28 pm

Re: More automation: Watched folders, automatic start

Post by thorsted » Tue Dec 03, 2013 8:20 pm

Right.

Either have a watched folder XnConvert polls at a time interval and executes an action once it finds a new image. Or have an image open in XnConvert and auto start an action.

Thorsted

arakel
Posts: 2
Joined: Thu Sep 04, 2014 1:53 pm

Re: More automation: Watched folders, automatic start

Post by arakel » Thu Sep 04, 2014 2:24 pm

In XnConvert version 1.65 you find a button "Hot Folders" at the "Input"-Tab.
I chose a folder with this "Hot Folder" button and set all other necessary things, like output …
Afterward, I saved as a script, closed and restart XnConvert. All settings are restored from script like desired.
Manually adding images for converting is working.
But if I copy an image-file to the hot-folder nothing happens.
What am I doing wrong? Do I have so setup something in addition, some trigger or so?

Thanks, in advance
arakel

arakel
Posts: 2
Joined: Thu Sep 04, 2014 1:53 pm

Re: More automation: Watched folders, automatic start

Post by arakel » Tue Sep 09, 2014 7:13 am

What is the aim of the button "Hot Folder"? (in XnConvert version 1.65)
How does this work?

Thanks in advance
arakel

Win 7 - 64bit

inspectaclueso
Posts: 7
Joined: Mon Sep 29, 2014 12:54 am

Re: More automation: Watched folders, automatic start

Post by inspectaclueso » Mon Sep 29, 2014 12:58 am

Yes, I have the same question.

I am running XnConvert version 1.65 on Windows 7 - 32bit

I can manually add a file/s or a whole folder and click convert successfully however if I add a hot folder and add the same files to that hot folder nothing seems to happen?

Could this possibly be a bug or is there some sort of configuration I have missed?

Thanks

P.S. I get the same symptoms/issue when I attempt the same on Linux Mint, XNConvert 1.65

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview » Wed Oct 01, 2014 1:56 pm

Right, there is a bug when watched folder has subfolder, and if files added are < 10

See Issue 488 for current status and details.
Pierre.

inspectaclueso
Posts: 7
Joined: Mon Sep 29, 2014 12:54 am

Re: More automation: Watched folders, automatic start

Post by inspectaclueso » Wed Oct 01, 2014 7:44 pm

Thank you very much for the reply.

It is reassuring to hear there is a bug as I thought I was going crazy :)

So as I read it, this issue will be resolved in the next version which is 1.69?

To clarify, when 1.69 is released it will be possible to drop a single file into the Hot Folder and it will be detected and converted as per output options?

Thanks again

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview » Thu Oct 02, 2014 12:19 pm

drop on 'hot folder' button?
Pierre.

inspectaclueso
Posts: 7
Joined: Mon Sep 29, 2014 12:54 am

Re: More automation: Watched folders, automatic start

Post by inspectaclueso » Thu Oct 02, 2014 7:46 pm

Hi,

Sorry, I'm not sure what you mean by drop on hot folder button?

I've used Hot Folders in other applications and my understanding of how it would work is...

Specify a hot folder for XnConvert to monitor...

Image

Then in the output settings you can specify the output folder and format (PDF in this case)...

Image

Once configured I should then be able to copy a file into the Hot Folder and it will be automatically processed as per the output settings.

thetfactor
Posts: 5
Joined: Tue Oct 21, 2014 9:26 pm

Re: More automation: Watched folders, automatic start

Post by thetfactor » Tue Oct 21, 2014 10:20 pm

Having the exact same problem, and it is the only thing keeping me from singing the praises of this elegant piece of work from the top of every mountain. I hope the .69 version is forthcoming, and that the problem is solved, because it is the only barrier to perfection. Thanks, Pierre!

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview » Wed Oct 22, 2014 12:29 pm

thetfactor wrote:Having the exact same problem, and it is the only thing keeping me from singing the praises of this elegant piece of work from the top of every mountain. I hope the .69 version is forthcoming, and that the problem is solved, because it is the only barrier to perfection. Thanks, Pierre!
It's solved in 0.69
Pierre.

thetfactor
Posts: 5
Joined: Tue Oct 21, 2014 9:26 pm

Re: More automation: Watched folders, automatic start

Post by thetfactor » Thu Oct 23, 2014 8:09 pm

Hello again, Pierre! I must just be a complete dummy, because I cannot seem to get it to work for me. I will keep trying!

thetfactor
Posts: 5
Joined: Tue Oct 21, 2014 9:26 pm

Re: More automation: Watched folders, automatic start

Post by thetfactor » Thu Oct 23, 2014 8:15 pm

Ha ha, you are a genius, I just tried it again and it worked! Now all I need is a way to have the program open automatically on startup and load the conversion script. Hooray!

Post Reply