More automation: Watched folders, automatic start

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

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

More automation: Watched folders, automatic start

Post by thorsted »

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: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview »

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: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: More automation: Watched folders, automatic start

Post by helmut »

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 »

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 »

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 »

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 »

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: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview »

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 »

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: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview »

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 »

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 »

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: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: More automation: Watched folders, automatic start

Post by xnview »

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 »

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 »

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