Flashing shortcut based on systray icon flashing? Thread last updated on 2003-11-26 22:36:46

Posted by member 71746 on 2003-11-23 00:16:12

I'd like to rig up my theme so that whenever the Trillian icon goes from the standard trillian icon to the flashing message, a shortcut flashes too (by flashes I mean switches from one to another and back over and over) until it's told to stop by having the user mouse-over the shortcut.

The shortcut is in an LsBox and I figure would be switched through ...
*Script exec !LsBoxGroupShow #1
*Script exec !LsBoxGroupHide #2

The mouse-over-shortcut-to-stop-flashing could be triggered through a hotspot.

The practical application of this is I generally have the tray hidden, with a little tab visible that I can mouse-over to show the tray. On the little tab is an icon of 2 little buttons. I'd like to be able to keep the ls box with the tray hidden, and when a new message comes in and Trillian starts flashing its message icon, the tab buttons sorta light up and turn off and light up and turn off type of thing.. a subtle flashing effect. I'd like the flashing to continue at maybe 2 toggles per second, until the mouse goes into the hotspot overtop of the tab.

I hope I've explained this clearly, I've been hitting the hotknives rather steadilly tonight...

Posted by member 7223 on 2003-11-23 06:18:17 link

I don't use Trillian or other IM but you should use RabidVWM's VWMOnFlash to detect if it's Trillian that is flashing and then... script, timers...

Posted by member 71746 on 2003-11-23 13:59:21 link

Actually I've tought about it and decided I'd like to have the shortcut switching happen any time the systray flashes ANY icon (ie, if PrintMonitor is having issues or something)

Is there any kind of SystrayOnIconFlash function for systray2? (specifically systray2-lsbox)

If there is a simple SystrayOnIconFlash type command that isn't in the 24.6 documentation, and I were to employ that setting, would it also activate the shortcut-switch when ZoneAlarm changes its icon from no-net-activity to upload? and then again when it goes from 10% upload to 60% upload, etc?

Posted by member 81301 on 2003-11-25 09:15:08 link

That sounds like a brilliant thing to have working, that's about the only reason I keep my systray showing, so I can see when Trilly is flashing at me. But I expect if such a setting did exist, for general systray icon flashing detection it would go off every time my internet connection or network connection icons flashed their screens to show data being transferred and that would just be pointless...
But if it could be targeted to just the apps you select, such as Trilly and PrintMonitor it would be great!
Sadly I know nothing of whether it is or could be possible.

Posted by member 71746 on 2003-11-25 14:01:38 link

Despair not, I found a pretty neat way to achieve my goal.

I just have a little mini-tray as well as the systray. Using systray2 for the main system tray, and I keep it hidden most of the time. Using VTray for the mini-tray as it supports scrolling. I have the mini-tray always visible and it just displays 2 icons: 1 is a built-in shortcut that reports when you have new e-mail, the other is any system try icon. There are 2 buttons you can use that scroll the mini-tray so you can select exactly which systray icon you want to display.

That means people can have whatever systray icon they want showing as their mini-tray icon - trillian, icq, aim, mirc if y'want, or even things like BulletProof FTP so you can monitor the progress of an active transfer or something - and it's done with a couple buttons instead of having to edit a config file and recycle :)

Check out the theme "Intuition", it should be in the Themes section by now.

Posted by member 81301 on 2003-11-26 22:36:46 link

yep, I saw that, very nice work!
I'm trying to do something similar on my theme, but I'm just using VTray and trying to use mzscript to resize my VTray when I click on a shortcut so I can expand it or un-expand it at the click of a button. But it's not working because I can't seem to get arithmetic to work properly...