Snarl

Questions and comments specific to a particular plugin should go here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Snarl

Post by Pako » Thu Jan 05, 2012 7:56 am

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 14608 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 14608 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

User avatar
zian
Site Admin
Posts: 571
Joined: Wed Jun 24, 2009 3:54 pm

Snarl

Post by zian » Thu Jan 05, 2012 6:06 pm

Pako,
You deserve a raise.
Or an award of some sort.

You are an EventGhost GOD!!!

Thanks for all you do my friend.
Ian
eventghost.net
Be there or be square.

derelict
Posts: 38
Joined: Sun Mar 01, 2009 12:55 pm

Snarl

Post by derelict » Thu Jan 05, 2012 7:14 pm

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

derelict
Posts: 38
Joined: Sun Mar 01, 2009 12:55 pm

Snarl

Post by derelict » Thu Jan 05, 2012 7:21 pm

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 !!

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Snarl

Post by Pako » Fri Jan 06, 2012 8:20 am

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

Silverhawk
Posts: 16
Joined: Sun Nov 10, 2013 6:19 pm

Re: Snarl

Post by Silverhawk » Sun Nov 10, 2013 8:34 pm

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.

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Snarl

Post by Pako » Mon Nov 11, 2013 7:40 am

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

Silverhawk
Posts: 16
Joined: Sun Nov 10, 2013 6:19 pm

Re: Snarl

Post by Silverhawk » Mon Nov 11, 2013 12:25 pm

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

Silverhawk
Posts: 16
Joined: Sun Nov 10, 2013 6:19 pm

Re: Snarl

Post by Silverhawk » Wed Jan 01, 2014 11:40 pm

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.

kalinkamaen
Experienced User
Posts: 139
Joined: Wed Dec 26, 2012 9:23 am

Re: Snarl

Post by kalinkamaen » Tue Jan 21, 2014 10:42 am

How do i download this plugin? Yes I am a noob. Do i just copy this text somewhere?

Image

Kali

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Snarl

Post by Pako » Tue Jan 21, 2014 11:03 am

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 12775 times
SaveTargetAs.jpg
SaveTargetAs.jpg (23.99 KiB) Viewed 12775 times

kalinkamaen
Experienced User
Posts: 139
Joined: Wed Dec 26, 2012 9:23 am

Re: Snarl

Post by kalinkamaen » Tue Jan 21, 2014 11:55 am

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?

User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Snarl

Post by Pako » Tue Jan 21, 2014 12:11 pm

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

kalinkamaen
Experienced User
Posts: 139
Joined: Wed Dec 26, 2012 9:23 am

Re: Snarl

Post by kalinkamaen » Tue Jan 21, 2014 6:02 pm

Yes you where right. Thanks for your help and a very usefull plugin.

Kali

z3us
Posts: 42
Joined: Fri Jul 29, 2011 2:35 am

Re: Snarl

Post by z3us » Mon Mar 03, 2014 8:43 pm

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'

Post Reply