Author Topic: Tray Icon Balloon Notification  (Read 2234 times)

0 Members and 1 Guest are viewing this topic.

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
Tray Icon Balloon Notification
« on: July 19, 2010, 04:30:32 PM »
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 SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1239
  • ....... chut ! shh!
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #1 on: July 19, 2010, 04:48:39 PM »

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #2 on: July 19, 2010, 04:50:23 PM »
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: 12949
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #3 on: July 26, 2010, 02:48:01 PM »
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
Re: Tray Icon Balloon Notification
« Reply #4 on: July 26, 2010, 10:32:45 PM »
cool, very nice I look forward to playing around with this new version!

Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1239
  • ....... chut ! shh!
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #5 on: August 18, 2010, 03:12:00 AM »
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
Re: Tray Icon Balloon Notification
« Reply #6 on: August 18, 2010, 03:22:22 AM »
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: 1239
  • ....... chut ! shh!
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #7 on: August 18, 2010, 03:27:04 AM »
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: 12949
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #8 on: August 18, 2010, 10:54:56 AM »
my suggestion: move HFS folder outside the "program files", so you will face less problems.

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #9 on: August 18, 2010, 12:24:01 PM »
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: 1239
  • ....... chut ! shh!
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #10 on: August 18, 2010, 02:06:48 PM »
Sorry luckman212, I replied in your post by mistake.

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
Re: Tray Icon Balloon Notification
« Reply #11 on: August 19, 2010, 02:43:55 AM »
yes, %ip% worked!  thanks  ;)  not sure why I couldn't guess that one .. doh!