rejetto forum

Tray Icon Balloon Notification

0 Members and 1 Guest are viewing this topic.

Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
hi, I love HFS, I'm using it since a long time ago.
now on beta #262 working great.

I had an idea not sure it is too difficult, but I would very much like to see tray balloon if someone download something from my HFS server.
like this

can it be done?



Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
hi, thats very cool but no I was hoping the balloons can just be "standard" windows API balloons... I dont want to install & configure growl just for that one case....


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
from next release (263) a new scripting command will be introduced {.notify.} to make it possible.
you'll just have to add something like this to ALT+F6

[download]
{.notify|%item-name%|title=Downloading from HFS.}



to get the list as in your picture is just slightly harder than this and you have to use also event [download completed]


Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
cool, very nice I look forward to playing around with this new version!


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Hi !  :)

With the beta build #266 (this is not the list, but this is rather nice)

Type Alt+F6

Copy & Paste this:


[+download completed]
{.play|MailBeep.}
{.notify|%user%@%ip% has downloaded:
- %item-name%
from:
{.filepath|%item-resource%.}      
|title=%time%   HFS - DOWNLOAD|type=info|timeout=10.}

[+upload completed]
{.play|MailBeep.}
{.notify|%user%@%ip% has uploaded:
- %item-name%
into:
{.filepath|%item-resource%.}      
Disk space free: %diskfree%|title=%time%   HFS - UPLOAD|type=info|timeout=10.}


 ;)

« Last Edit: August 22, 2010, 05:19:50 PM by SilentPliz »


Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
hello this is great.  I would love to try this feature.
however when I attempt to follow the steps, I get this box after pressing ALT+F6

any idea what to do?  build is #266 beta on Win7 x64.


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
If you answer yes... the file is not created?

Edit:

If not:
you create the hfs.events file yourself, and you put/save it in the folder of hfs.exe
« Last Edit: August 18, 2010, 03:55:51 AM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
my suggestion: move HFS folder outside the "program files", so you will face less problems.


Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
Quote
1) it seems that many times the "timeout" value is ignored and instead the balloon disappears very quickly (2-3 seconds).  not sure why?

Yes, I also noticed that the timeout is influenced by the timeout of the connection ... but sometimes not. :-\
Try wide values: 100 by e.g

Quote
2) I tried to insert a "[" using quoting method  ...   {:[:}  but it is printed literally instead.  how to insert a bracket?

[ should work, this depends on where you place it ... give an exemlple of what you want to do.

Quote
3) is there any way to get the ip address of the person who connected as a variable?  something like %ip% or %ip-address% (i tried those and they dont work)  

%ip% should work.

example %ip% & [ ]:

[+download completed]
{.notify|%user%@%ip% has downloaded:
- %item-name%
from:
{.filepath|%item-resource%.}      
|title=%time%   [HFS] - DOWNLOAD|type=info|timeout=10.}


« Last Edit: August 18, 2010, 02:28:34 PM by SilentPliz »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Sorry luckman212, I replied in your post by mistake.


Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
yes, %ip% worked!  thanks  ;)  not sure why I couldn't guess that one .. doh!