Specification Example: System Tray Notification

back to developer home

This Specification example shows the XML to pop up a system tray message balloon that states, "Ta-dah!! Your tag has been read!"

The user input parameter is highlighted in bold red.

<?xml version="1.0" encoding="UTF-8"?>
<specification xmlns="http://www.touchatag.com/schema/configurator/specification-1.0">
   <application>
      <command id="default" name="Show SysTray Notification Message"/>
   </application>
   <blueprint>
      <superblock id="urn:example:sample:message-app">
         <property name="Message">
            <text>Ta-dah!! Your tag has been read!</text>
         </property>      
         <breakdown>
            <block id="MsgText" ref="urn:touchatag:block:text-source">
               <property name="Value">
                  <delegate as="Message"/>
               </property>
            </block>
            <block id="MsgBlock" ref="urn:touchatag:block:message" />
         </breakdown>
         <wiringscheme>
            <wire from="MsgText:out" to="MsgBlock:in" />
            <shunt from="MsgBlock:out" to="action-out" />
         </wiringscheme>
      </superblock>
   </blueprint>
</specification>

Troubleshooting

No pop-up on Windows

Make sure that this key in the Windows registry is set

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  • DWORD EnableBalloonTips = 1