Tray Icon Notification

Is it possible to send a notification somewhat like a system
tray icon tooltip? Like some desktop apps, suddenly a large tooltip
pops out of its tray icon, is this possible? I'm not talking about
a NativeMenu, or to use the dockIcon bounce() or notifyUser() which
seems to make the taskbar blink. Make sense?

Yes, that can be done with NativeWindow. If you don't want to
write all the code for this from scratch, check out
http://code.google.com/p/as3notificationlib/.
Oliver Goldman | Adobe AIR Engineering

Similar Messages

  • Xp system tray icon notification

    Folks,
    Do you know how to implement the outlook-like mail notification in Java?
    i am talking about whenever a new mail arrived in yoru outlook, a fading notification box appear at the bottom right hand corner of the xp desktop...
    many thx.

    I would imagine you would need to knock up a small DLL and call it via JNI.

  • AIR System Tray Icon - does it support notifications?

    I want to add a system tray icon when my application loads and have balloon notifications appear when something happens, i.e. the application is minimized and a new message has been received. Does AIR support this functionality?

    I want to add a system tray icon when my application loads and have balloon notifications appear when something happens, i.e. the application is minimized and a new message has been received. Does AIR support this functionality?

  • Sometimes Tray Icon not loaded correctly

    I am trying to make my (html/ajax) website available as a desktop application, (with little enhancements like notifications in the background etc.)  without writing any extra code. Everything works fine except the tray icon. Sometimes the tray icon is not loading correctly.
    Following is the structure of my sample air application.
    1. An html page(page1.html) i am using as my inital window.
    It creates an invisible html window and loads a new page (page2.html) as below.
            var options = new air.NativeWindowInitOptions();
            options.systemChrome = "standard";
            var windowBounds = new air.Rectangle(200,250,300,400);
            newHTMLLoader = air.HTMLLoader.createRootWindow(false, options, false, windowBounds);
            newHTMLLoader.window.mainAppWindow = window;
            newHTMLLoader.load(new air.URLRequest("page2.html"));
    and later redirecting to the website.
    2. I am using this invisible html window to control the application behavior (like sending ajax requests in the background, monitoring network, checking for updates etc.)
    page2.html contains code to load the tray icon for the application.
    Here is javascript the code in page2.html
    function BgWindow(){
            this.init = function(){
                this.loadTrayIcon();
            var iconLoadComplete = function(event){
                air.NativeApplication.nativeApplication.icon.bitmaps = [event.target.content.bitmapData];
            this.loadTrayIcon = function() {
                air.NativeApplication.nativeApplication.autoExit = true;
                var iconLoad = new air.Loader();
                if (air.NativeApplication.supportsSystemTrayIcon) {
                    iconLoad.contentLoaderInfo.addEventListener(air.Event.COMPLETE,iconLoadComplete);
                    iconLoad.load(new air.URLRequest("lmt16.png"));
        window.onload = function(){
            bgWindow = new BgWindow();
            bgWindow.init();       
    But the problem here is, sometimes the icon is loaded correctly but sometimes its not loaded.
    What am I missing here ?
    Any help is appreciated.
    I am attaching the complete application if somebody needs to analyze it.

    Sorry. Your attachment didn't come through. It triggered an error message about a "malformed container violation." Please try to rezip it and try it again.

  • System Tray icon missing sometimes

    I have an HP printer 4100 series, Gateway computer, Vista.
    I've had two times when I booted up and the HP Printer system tray icon was not in the system tray.
    I will look at the Notification Area setup and one of the icons listed (under Past Items) is "Terminating Digital Imaging Monitor."
    However, I was still able to print normally.  If I reboot, the system tray icon will return.
    I've had the same printer/setup for over a year.  This never happened till today.  Normally the system tray icon will appear at startup.
    It may be one of Vista's quirks - I sometimes notice inconstent things about the system tray icons.
    Anyone know why this might happen?

    I am on the same os and having the same issue. I tried reloading java and found it did not help.
    Please advise.

  • X,Y position of your system tray icon

    Hi
    In my app i have a functionality by which i can minimize my desktop app to systray..On minimizing my app, an icon is created in the system tray..now is this possible for me to get the x,y position of that icon located in the system tray..i want to display notification pop up above it..with a pointer pointing the system tray icon.
    Thanks

    Just try this...
    Once you get proper character's index, use the following code,
    myTxtFld.getCharBoundaries(index); // this will return a rectangle.
    myTxtFld.getCharBoundaries(index).x; // ===========> will provide x coordinate and
    myTxtFld.getCharBoundaries(index).y; // ===========> will provide y coordinate.
    Good luck !!

  • Dropbox causing system tray icons to disappear

    I installed dropbox from AUR yesterday and everything appeared to be working fine. I set it up to load on boot and when I booted Arch (KDE) this morning, I noticed that the only icon in my system tray was the dropbox icon. After logging out and back in several times, the problem was still there so I un-installed dropbox, logged out and back in again and all my system tray icons are back. Anyone have any idea what's going on here?
    Regards .....

    But perhaps the timing issue is the same.
    Where do you launch NALDESK?
    Login Script? Run Reg Key? Startup Folder?
    The latter two both run later in the startup process and may help.
    You could also test launching via a Policy package action set to run "When
    Desktop Is Active", which would run after all of these.
    Considering relaunching NALDESK works everytime, then you may be seeing the
    same timing problem.
    Deyan Stoykov wrote:
    > Similar problem here. The environment is Zen 3.2 sp3, nwclient 4.9 sp2 +
    > pkc, win2ksp4, DLU and roaming profiles.
    >
    > - appears randomly.
    > - the icons for tray designated apps and the nal icon don't appear in
    > the tray.
    > - app icons on the desktop, in the quick launch and in the start menu
    > are always there.
    > - killing the naldesk.exe process and running it again solves the
    > problem every time.
    > - changing nalexpld.exe with naldesk.exe and vise-versa in the login
    > script doesn't make any difference.
    > - zfd32sp3nal_img doesn't make any difference.
    >
    > I only found TID10054405, but it doesn't seem to apply to my environment.
    >
    > Deyan
    >
    > [email protected] wrote:
    > > Nal icons which are designated to appear in the system tray (notification
    > > area) do not always appear. Doesn't seem to be any pattern to it.
    > > Zen 3.2 sp2 / windows xp sp2

  • Skype: no system-tray icon with Arch (+ xfce)

    When I close Skype (the one and only skype window), skype is still running in the background. When I run Zenwalk with xfce, there is a skype icon as part of the taskbar, which indicates that skype is still running in the background. This icon does not pop up in Arch and xfce.
    Here in the forum rdoggsv gave a hint to run "killall skype". However I would prefer to have the system-tray icon (and the right-click to close skype). By the way: skype on debian has this icon as well (see http://bbs.archlinux.org/viewtopic.php?id=14874). How can I get this xfce notification icon in Arch, as long as Skype is running?

    Are you sure you have system tray enabled on your xfce panel?  I don't use xfce, but skype shows up correctly in the tray using trayer...  I also remember it working correctly with xfce panel tray in the past so unless the latest version of xfce is buggy it should work without problems.

  • Netcfg tray icon v3

    This is the release of what I consider a 'simple' tray icon for netcfg. The aim is a very simple front to start/stop netcfg/netlib profiles and just make it a little more convenient. Not a full clicky configure-everything GUI. 
    The icon and tooltip indicate the network connectivity, and networks can be selected for the menu. It's still a little rough around the edges, but already very useful.
    At present it can connect/disconnect profiles and run auto-wireless on an interface.
    Permissions
    As netcfg needs to be run as root, the tray icon needs to be configured to run /usr/bin/netcfg-tray-helper as root somehow.
    By default the tray icon uses gksudo, in the package 'gksu'. This brings in gnome deps - however this can be changed:
    cp -r /etc/xdg/netcfg-tray ~/.config/
    Then edit the root_cmd option to something without gnome deps. I set mine to sudo, then ran visudo and configured sudo to allow passwordless use of /usr/bin/netcfg-tray-helper.
    Notifications
    Notifications are somewhat configurable. Have a look at the default configuration, presently it supports:
    * no notifications
    * libnotify
    * dzen2
    For libnotify with no gnome deps, either use xfce4-notifyd or noteo  (written by an Archer! - http://aur.archlinux.org/packages.php?ID=15952)
    Download
    PKGBUILD: http://aur.archlinux.org/packages.php?ID=27601
    Source: ftp://ftp.archlinux.org/other/netcfg/tr … y-3.tar.gz
    Package: ftp://ftp.archlinux.org/other/netcfg/tr … pkg.tar.gz
    Depends on netcfg >=2.2.0b3 (testing) - The netcfg release in testing is pretty stable,  and will be moved to [core] in the near future with some minor changes.
    Feature Requests
    Keep in mind the aim is a very simple front to start/stop netcfg/netlib profiles and just make it a little more convenient. Not to become a full clicky configure-all GUI. 
    * Creating new profiles - Next feature to add. It'll be basic, not a full GUI for every option, probably just a simple text box/editor.
    * Scanning for available wireless networks - Will be optional. When I find a _clean_ way that does not introduce new deps, and does not involve parsing iwlist scan. I'm thinking a very short C app that uses the standard wireless extensions to get a parsable list of available networks, though I havn't used C for years.
    * Link quality - Maybe. Definitely optional, but like scanning, I need to find a good way to do it.
    Last edited by iphitus (2009-06-26 14:50:37)

    uploaded v3, again more small fixes.
    - picking a new profile on an active interface now disconnects the existing profile (thanks eldragon)
    - tooltip gives more useful information
    - factored out another couple of functions to netcfg.py
    PKGBUILD: http://aur.archlinux.org/packages.php?ID=27601
    Source: ftp://ftp.archlinux.org/other/netcfg/tr … y-3.tar.gz
    Package: ftp://ftp.archlinux.org/other/netcfg/tr … pkg.tar.gz
    ilembitov: ftp://ftp.archlinux.org/other/netcfg/tr … g-tray.png - The icon does not have a black background, that's just the intel drivers or import not taking a proper screenshot. If you've been to that cafe before and made a profile already, then yes, just select the profile in the menu. If you've never been there, you'll need to create the profile, then you can connect. Oh, and it'll get a wiki entry/webpage, and all that soon.
    Last edited by iphitus (2009-06-26 14:46:44)

  • Simple Tray Icon Tool

    I wrote a simple and general tray icon tool, which can be used for general notifications. You can get it from my github.
    When started it waits for command on the standard input. Three commands are accepted:
    icon <file>: sets the icon from file
    tooltip <text>: sets the tooltip text
    hide: hides the icon altogether
    Application examples:
    1. Xmonad layout icons: I tried bmpanel with xmonad (going for a bit more eyecandy than xmobar), but then I loose the status info of xmonad, particulary the layout info (active window and workspaces are shown nicely using ewmh compatibility). With this tool I can define my pretty printer as
    ppLayout = \x -> ("icon " ++ layoutIconPath ++ x ++ ".png")
    everything else empty, and pipe the layout to trayIcon.
    2. Battery monitor: A bit of parsing of the acpi output
    #!/bin/bash
    DIR=`dirname $0`
    while true; do
    acpiOutput=(`acpi`)
    status=${acpiOutput[2]}
    status=${status:0:-1}
    level=${acpiOutput[3]}
    level=${level:0:-1}
    timeRemaining=${acpiOutput[4]}
    if [[ $status == Charging ]]; then
    icon=$DIR/icons/battery-0.png
    else
    icon=$DIR/icons/battery-${level}.png
    fi
    echo icon $icon
    echo tooltip $status, ${level}%, $timeRemaining
    sleep 30
    done | trayIcon
    3. Mail checking
    #!/bin/bash
    DIR=`dirname $0`
    while sleep 30; do $DIR/imap.py; done | trayIcon
    where imap.py is this script adapted for producing the trayIcon commands.
    I hope you find it useful and come up with more applications.
    PS: If you are intereseted I can share the icons I use.

    On the one hand, if you don't specify an icon nothing will be shown (even if a tooltip is specified). On the other hand, if stdin is closed the program terminates, so using echo is not appropriate. Try this "interactive session":
    $ trayIcon
    icon /usr/share/icons/hicolor/16x16/apps/firefox.png
    tooltip test

  • I am getting system tray icon when i execute jar file.

    Hi.,
    I am not getting system tray icon when i execute jar file. But a process is created and its running at background... When i execute the same program in net beans, i got system tray icon as well. why i didn't get system tray icon outside the net beans.? Can anyone help me on this..?????

    Karthik_Java wrote:
    Hi.,
    I am not getting system tray icon when i execute jar file. But a process is created and its running at background... When i execute the same program in net beans, i got system tray icon as well. why i didn't get system tray icon outside the net beans.? Can anyone help me on this..?????What version of the JRE is set as the default on your machine, as far as I'm aware the ability to crap up the notification area was only added in JSE6.

  • Can't mount Time Capsule on PC (white system tray icon no longer there)

    My new time capsule is working perfectly on my MacBookPro, however recently I tried to get it to work on my PC laptop. I easily got the wireless internet work on the PC, that's not a problem. I installed the airport utility on my PC and it was able to recognize it through the airport utility interface/configuring window where I could change settings, etc., just like I could on my Mac. There used to be (on my PC) this white icon in my system tray on the lower right of my screen. When I clicked on this I could type my password, as prompted, and mount to the time capsule, which I could now see in My Computer as a drive. I tested a few files by dragging them over into the drive, and it worked fine. Now, a week later the icon in the system tray has disappeared, and I can no longer see the time capsule on my PC in My Computer. I can still click on the airport utility icon in my programs and see/change settings in my time capsule from my PC, but cannot see nor access the drive from My Computer (or mount by clicking on this now missing icon). Anyone else know what I can do? Thanks in advance!

    I was just having this problem and figured out that the white system tray icon is the Airport Base Station Agent. It wasn't running for me for some reason, too, but I found it and started it back up again at C:\Program Files\AirPort\APAgent.exe.
    Here's an Apple Support article (it's a little old) I found that discusses drive mapping in windows with the Airport Base Station Agent: http://support.apple.com/kb/HT1331
    Hope this helps.

  • How do I get firefox 3.5 back? Firefox 4 can't find yahoo.mail URL. Using your suggestions has caused me to loose my system tray icons and printers from my computer altogether and my system restore will no longer work either.

    Firefox 4.0 cannot find the Yahoo mail URL. Working with the Verizon tech we were able to get Internet Explorer to finaly find the yahoo mail web site. But not luck with Firefox 4.0 .
    Since trying your suggestions to make firefox 4 find the Yahoo mail URL. I have noticed that all of my system tray icons except the Panda anti virus and volume control icons have disapeared. My system restore will not restore and printers are gone altogether. How do I get the old firefox and all i've lost back.
    Hector, [email protected]

    Still cannot fix it to get Yahoo e-mail. This what I get now from Ff3.5 now.
    Sorry, we can't find "http://us.mc1121.mail.yahoo.com/mc/welcome". Please check the spelling of the web address.
    From Ff4 it can't find the " URL proxy server" on it's server???
    Have tried most every solutions/suggestion I could find have my computer just keeps getting worse. Where do I find the 4 solutions you mention here to see if I have not already tried them? I don't see or know where to go to find these solutions??? Can anyone help me find the fix???
    E-mail add. [email protected]

  • Little question about a Claws-Mail tray icon theme, and how to use it.

    There is a Claws Mail tray icon theme available on gnome-look.org:
    http://gnome-look.org/content/show.php/ … tent=71540
    These are the instructions the author gives to install the theme:
    Claws Mail Tango trayicon theme
    Claws-Mail version = 3.3.0
    copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
    So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?

    Stalafin wrote:
    There is a Claws Mail tray icon theme available on gnome-look.org:
    http://gnome-look.org/content/show.php/ … tent=71540
    These are the instructions the author gives to install the theme:
    Claws Mail Tango trayicon theme
    Claws-Mail version = 3.3.0
    copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
    So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?
    I would recommend using ABS. just makepkg -o first so the sources get DL'd and unpacked. copy your icons and makepkg -e so the sources are not extracted again and therefore your new icons overwitten.
    finally, enjoy some awesomeness:

  • Need to Lock down Keyboard Manager System Tray Icon

    I run 27 MacBooks at a Secondary School. I have them setup for Windows XP Pro (I'll be setting up the Mac OS over then next few weeks but this is a MS Windows School so lets start slow). Hoever I need to be able to disable the "Boot Mac OS" option on the Keyboard Manager. But still have access to Volume and Eject etc Keys.
    Solution: 1
    a .adm file so that I can contol what is avilable to students through Group Policy (disable reboot in Mac, Disable Boot Camp First time Run Help Screen)
    Solution 2
    A Keyboard driver that will make all the Keys work (and remote if possible) but has no System tray Icon
    Solution 3
    Hide the System tray icon (as say an option in the Boot Camp Control Panel which I can already disable through group policy) then all I need to kill is the anoying first time run help screen.
    The help screen is anoying because for each of the 800 student will probably only login into each laptop once each so that will come up every time, because I reimage every 3 months or so.
    The reboot in Mac OS would be no problem if it did not perminatly change to boot order and the Mac OS side boot change back is too complicated for most first time Mac users. The way I will be introducing the Mac OS is telling them about the hold the "option" key trick on boot. hence the dummys will get what they are expecting, and the smarties have the option without afecting the dummys.
    I relise this is a Devolopers thing but I can find no other way to inform them of the need. I dout I am the only System admin needing this.
    Thank You
    Message was edited by: Solus Venator

    Unfortunately no that did not help
    Using msconfig only stops the Keyboard Manager from running. I can do that simply be removing it from the registry with out the annoying msconfig messages. (good for testing though)
    I have also looked into the Hide tray Icon Path but that only tucks it behind a set of “<<”
    And the reboot function does Permanently Change the Boot Order. (Not the boot sector necessarily, The Boot Order) to change it back you need to login into the Mac OS and System Prefs Disk Boot Select the Boot Camp Part and Reboot …… Big Pain in neck.
    The Keyboard Manager icon does not have an eject option… If is needed for the Eject Key to work (and the Volume Mute, Up, Down, Brightness Up, Down. Note it is not Needed for the Play FF Rew Keys they work fine with the Fn Key)
    Here is the test
    With no icon showing, or an icon with no reboot option : Press The Eject Key if the CD Ejects Success, I also need Volume do not care about the others as much
    As Stated this is a Developer( Programmer) oversite and needs them to put in an option to remove the reboot option from the System tray Icon. Removal of the Icon would also be desirable
    Thank You

Maybe you are looking for

  • Iphoto 6 help viewer shows wrong info !

    ok , i read the help viewer of iphoto , there you can read the follow ; To create a new photo library: Quit iPhoto. Rename your current iPhoto Library folder in the Finder or move it to a new location on your hard disk. Open iPhoto. Click Create Libr

  • CIN - J1ID TAX RATE MAINTAINED VALIDITY DATE (INDIAN SCENARIO)

    IN INDIA TAX RATES CHANGE DURING EVERY YEARS BUDGET. EXCISE AND CUSTOMS DUTY CHANGE FROM MARCH WHEREAS SALES TAX CHANGES FROM APRIL. THIS TIME DUE TO RECESSION AND ELECTION THE EXCISE DUTY STRUCTURE WAS CHANGED THRICE FROM DEC 2008 TILL DATE. FROM 14

  • Best settings for professional printing quality .pdf from Microsoft Publisher file?

    Hello, I have created a couble of design documents in Microsoft Publisher, and would like them professionally printed. The printer who will print them has asked me to send him the artwork as a .pdf, with crop marks, color density bars and registratio

  • Optimal use of multiple internet connections

    G'day, lets say that you can access the internet via multiple means lets say over ethernet and airport. Perhaps you want OSX to prefer one over the other when one is faster than the other, or just to share internet usage over the two resources. Is th

  • Center a flash projector on screen using actionscript 3

    Hi , I notice when i launch my flash projector it is not centered on the screen. How do i make the projector centered according to the height and width of the screen?