Page 1 of 1
XNView plugin?
Posted: Tue Dec 18, 2012 4:15 pm
by elxic
Hello,
I recently discovered this wonderful application and I would like to use it with XnView but I am unable to create a plugin for it. Does anyone have it?
Thank you very much.
Re: XNView plugin?
Posted: Tue Dec 18, 2012 4:34 pm
by Pako
As far as I know, there is no plugin for
XnView.
Also, I do not know of anyone who works on it.
However, maybe you can use either
IrfanView or
ArtSage instead of
XnView.
For these two programs we have plugins.
IrfanView plugin is included in the installation program and the plugin for
ArtSage is
here.
Pako
Re: XNView plugin?
Posted: Wed Dec 19, 2012 6:49 pm
by elxic
Pako thank you very much,
I know IrfanView, but I prefer XnView, I will create all events for use with my remote.
Can I share some part of configuration file?
Greetings.
Re: XNView plugin?
Posted: Thu Dec 20, 2012 5:54 am
by Pako
elxic wrote:Can I share some part of configuration file?
Unfortunately I do not understand your question.
What do you mean by "configuration file"?
Pako
Re: XNView plugin?
Posted: Sat Dec 22, 2012 7:55 pm
by elxic
xml file that contains the configuration
Re: XNView plugin?
Posted: Sun Dec 23, 2012 7:10 am
by Pako
Well. But I still do not understand what you are asking.
I'm sorry. It's probably because I do not speak English.
Perhaps there might be able to help someone else also.
Pako
Re: XNView plugin?
Posted: Sun Dec 23, 2012 3:20 pm
by elxic
Do not worry, I do not speak English, I use google translator.
I wonder if it is possible to save only part of the configuration file (XML file) and not whole. So I could share the configuration I've done for XnView.
Greetings and thanks for your interest.
Re: XNView plugin?
Posted: Sun Dec 23, 2012 4:17 pm
by Pako
Yes, of course it is possible (with small restrictions).
You can copy any folder (or macro or action). But with one operation only one item.
Once you have chosen part of configuration in the clipboard,
then you perform an "paste" action but into plain text file !
Back it goes the same way (but vice versa). In the text file you make a "copy",
while the "paste" you make in the configuration tree.
Pako
Re: XNView plugin?
Posted: Sun Dec 23, 2012 9:38 pm
by elxic
Thank you very much,
I did not think it was that simple.
I attached the folder that contains the actions for XnView (with Lirc).
To start XnView:
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1600">
<Macro Name="Iniciar XNView">
<Event Name="Lirc.PREVIEW" />
<Action>
System.Execute(u'C:\\Archivos de programa\\XnView\\xnview.exe', u'', 0, False, 2, u'', False)
</Action>
<Action>
Window.BringToFront()
</Action>
</Macro>
</EventGhost>
To switch to mode XNView:
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1600">
<Macro Name="Switch to mode: XNView">
<Event Name="Task.Activated.xnview" />
<Action>
EventGhost.EnableExclusive(XmlIdLink(562))
</Action>
</Macro>
</EventGhost>
To disable XnView:
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1600">
<Macro Name="Deshabilitar: XNView">
<Event Name="Task.Deactivated.xnview" />
<Event Name="Task.Destroyed.xnview" />
<Action>
EventGhost.DisableItem(XmlIdLink(562))
</Action>
</Macro>
</EventGhost>
To handle XNView, paste in "Context folder":
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1600">
<Folder Name="XNView" id="562" Enabled="False" Expanded="True">
<Macro Name="Intro" Expanded="True">
<Event Name="Lirc.5" />
<Action>
Window.SendKeys(u'{Return}', False)
</Action>
</Macro>
<Macro Name="Escape">
<Event Name="Lirc.0" />
<Action>
Window.SendKeys(u'{Escape}', False)
</Action>
</Macro>
<Macro Name="Arriba">
<Event Name="Lirc.2" />
<Action>
Window.SendKeys(u'{Up}', False)
</Action>
</Macro>
<Macro Name="Abajo">
<Event Name="Lirc.8" />
<Action>
Window.SendKeys(u'{Down}', False)
</Action>
</Macro>
<Macro Name="Tabulador">
<Event Name="Lirc.TV/FM" />
<Action>
Window.SendKeys(u'{Tabulator}', False)
</Action>
</Macro>
<Macro Name="Derecha">
<Event Name="Lirc.6" />
<Action>
Window.SendKeys(u'{Right}', False)
</Action>
</Macro>
<Macro Name="Izquierda">
<Event Name="Lirc.4" />
<Action>
Window.SendKeys(u'{Left}', False)
</Action>
</Macro>
<Macro Name="Pantalla completa">
<Event Name="Lirc.FULL_SCREEN" />
<Action>
Window.SendKeys(u'f', False)
</Action>
</Macro>
<Macro Name="Siguiente">
<Event Name="Lirc.CHANNEL+" />
<Action>
Window.SendKeys(u'{PageDown}', False)
</Action>
</Macro>
<Macro Name="Anterior">
<Event Name="Lirc.CHANNEL-" />
<Action>
Window.SendKeys(u'{PageUp}', False)
</Action>
</Macro>
<Macro Name="Cerrar">
<Event Name="Lirc.POWER" />
<Action>
Window.SendKeys(u'{Alt+F4}', False)
</Action>
</Macro>
</Folder>
</EventGhost>
I hope to learn how to create a plugin.
Greetings.
Re: XNView plugin?
Posted: Sat Dec 29, 2012 10:49 am
by Pako
I'm still confused.
I still do not understand what you expect from me.
Can anyone advise me?
Pako
Re: XNView plugin?
Posted: Thu Jan 03, 2013 2:16 am
by jonib
Pako wrote:I'm still confused.
I still do not understand what you expect from me.
Can anyone advise me?
As far as I can tell he don't expect anything from you, he got his config to work and posted his solution.
jonib
Re: XNView plugin?
Posted: Thu Jan 03, 2013 10:26 am
by Pako
jonib wrote:As far as I can tell he don't expect anything from you, he got his config to work and posted his solution.
jonib
Thanks !
Pako