Page 1 of 7

Snarl

Posted: Thu Jan 05, 2012 7:56 am
by Pako
Here is the first version of the Snarl plugin.
With this plugin you can use many beautiful styles, which has program Snarl.
Notification.png
Notification.png (8.35 KiB) Viewed 14633 times
I think this plugin widens the existing limited possibilities of On Screen Displaying.
Note, that part of the notification can be even a user menu !
Notification+Menu.png
Notification+Menu.png (6.07 KiB) Viewed 14633 times
I think, that the depth of interconnection between programs Snarl and EventGhost is unique.
At least in terms of plugins, which I did myself.

Here you can always download the latest version of the plugin.
For this to work, you still need a library pySnarl.py.
Its latest version you can find always here.
Both the downloaded files you place into the folder Snarl, which you create in the directory,
where you have other EventGhost plugins.

WARNING: For proper functioning requires Snarl 2.5.1 or later !

Pako

Snarl

Posted: Thu Jan 05, 2012 6:06 pm
by zian
Pako,
You deserve a raise.
Or an award of some sort.

You are an EventGhost GOD!!!

Thanks for all you do my friend.
Ian

Snarl

Posted: Thu Jan 05, 2012 7:14 pm
by derelict
Pako!!! YOU ROCK !! .... Read it from your Screen:

Y O U R O C K !!

Love the Plugin so far... a lot of options... for the first release !!

One Question: (I know this is more snarl related... but you surely know ;-) ) .... is there a way to display the notifications in the middle of the screen... centered ??

Marcel

Snarl

Posted: Thu Jan 05, 2012 7:21 pm
by derelict
I have to say it again.... man... you rock !! even the Integer Value fields like duration accept eventghost variables !! like {eg.event.payload} !! Loving it !!

Re: Snarl

Posted: Fri Jan 06, 2012 8:20 am
by Pako
derelict wrote:One Question: (I know this is more snarl related... but you surely know ;-) ) .... is there a way to display the notifications in the middle of the screen... centered ??l
I'm not sure. I do not know all the styles.
Some styles also use different position than the corners of the screen.
I know only one style, which displays a large (partially transparent) icon in the center of the screen.
At the same time, however, appear normal notification in a selected position. The style is called Hover.

Pako

Re: Snarl

Posted: Sun Nov 10, 2013 8:34 pm
by Silverhawk
Whenever I try to add this plugin my EventGhost just crashed. Just copied the files to plugins/Snarl, as you would normally do with any plugin. I can talk to snarl through the growl plugin but this doens't give me the functionality I need. ATM I'm using OS Menu to display messages and respond to em, which does work but is kinda ugly and there are many limitations to it. Would love to get this to work with snarl.

Re: Snarl

Posted: Mon Nov 11, 2013 7:40 am
by Pako
Silverhawk wrote:Whenever I try to add this plugin my EventGhost just crashed. Just copied the files to plugins/Snarl, as you would normally do with any plugin. I can talk to snarl through the growl plugin but this doens't give me the functionality I need. ATM I'm using OS Menu to display messages and respond to em, which does work but is kinda ugly and there are many limitations to it. Would love to get this to work with snarl.
You probably expect, that such information is enough for me to diagnose.
But alas, not so.
It helps you when I will tell you that for me it does not happen?

Pako

Re: Snarl

Posted: Mon Nov 11, 2013 12:25 pm
by Silverhawk
Got it to work, for some reason installing an older version of EventGhost while the plugin was still in the folder fixed it. I then removed the older version and installed the latest version again and it is working correctly now. If you are interested in seeing what I do with it see the following link, thanks for the plugin!!

https://plus.google.com/101901763497421 ... dLLeKNFkmG

Re: Snarl

Posted: Wed Jan 01, 2014 11:40 pm
by Silverhawk
Is there any way to allow for custom payloads when dismissing/invoking/closing/triggering actions of a notification. At the moment the only payload is the UID, would be nice if you could set a custom payload, for example a variable. This way eg.event.payload[0] could still have the uid and eg.event.payload[1] would have the variable.

Re: Snarl

Posted: Tue Jan 21, 2014 10:42 am
by kalinkamaen
How do i download this plugin? Yes I am a noob. Do i just copy this text somewhere?

Image

Kali

Re: Snarl

Posted: Tue Jan 21, 2014 11:03 am
by Pako
kalinkamaen wrote:How do i download this plugin? Yes I am a noob. Do i just copy this text somewhere?
SnarlDownload.png
SnarlDownload.png (8.07 KiB) Viewed 12800 times
SaveTargetAs.jpg
SaveTargetAs.jpg (23.99 KiB) Viewed 12800 times

Re: Snarl

Posted: Tue Jan 21, 2014 11:55 am
by kalinkamaen
Thank you.

It works very well with Notify my Android. Will this send over internet aswell?
Or do i need to send it trough mail and then notify my Android?

Re: Snarl

Posted: Tue Jan 21, 2014 12:11 pm
by Pako
kalinkamaen wrote:It works very well with Notify my Android. Will this send over internet aswell?
I'm not entirely sure how it is meant.
However, I think the answer is yes, NMA will work itself.

Pako

Re: Snarl

Posted: Tue Jan 21, 2014 6:02 pm
by kalinkamaen
Yes you where right. Thanks for your help and a very usefull plugin.

Kali

Re: Snarl

Posted: Mon Mar 03, 2014 8:43 pm
by z3us
Hi.
I´m getting this error when I open my EVG. It´s caused by this plugin.
What´s wrong?

Thanks

Code: Select all

Error while loading plugin-file C:\Program Files (x86)\EventGhost\plugins\Snarl.
Traceback (most recent call last) (1582):
  File "C:\Program Files (x86)\EventGhost\plugins\Snarl\__init__.py", line 141, in <module>
    import pySnarl
ImportError: No module named pySnarl
Unhandled exception in WorkerThread <EventThread>:
Callers stack:
  File "wx\_core.pyc", line 8010, in MainLoop
  File "wx\_core.pyc", line 7306, in MainLoop
  File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 342, in FuncWrapper
    func()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 820, in OnCmdOpen
    self.document.Open()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 353, in Open
    self.StartSession(filePath)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 158, in StartSession
    eg.eventThread.Call(eg.eventThread.StartSession, filePath)
Traceback (most recent call last) (1582):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
    self.HandleAction(action)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
    action()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
    self.returnValue = self.func(*self.args, **self.kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 142, in StartSession
    actionThread.Func(actionThread.StartSession, 120)(filename)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
    self.returnValue = self.func(*self.args, **self.kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 39, in StartSession
    eg.document.Load(filename)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 145, in Load
    root = self.RootItem(self, node)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\RootItem.py", line 55, in __init__
    ContainerItem.__init__(self, parent, node)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ContainerItem.py", line 38, in __init__
    for childNode in node
  File "C:\Program Files (x86)\EventGhost\eg\Classes\AutostartItem.py", line 43, in __init__
    child = self.document.PluginItem(self, childNode)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginItem.py", line 62, in __init__
    self,
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginManager.py", line 138, in OpenPlugin
    info = clsInfo.CreateInstance(args, evalName, treeItem)
AttributeError: 'NoneType' object has no attribute 'CreateInstance'