sendPopupHtml


sendPopupHtml

The sendPopupTable command displays a pop-up window on the desktop of the operator.

Warning

Important

Using the htmlData that is a string containing HTML 4 compliant data displays a pop-up window on the desktop of the operator.

You can use HTML <a> tags within the HTML to specify actions that are taken. Actions are attached to <a> tags in the href attribute. When you click on a link in the HTML popup, the defined action is executed. The defined actions are described in the Action-detail-notes topic.

When you need to specify an attribute on an HTML element (for example, an href attribute on an element), you must use single quotes. This makes your code easier to read.


Example:

htmlText = "<div style='font-family:san-serif;margin-left:18px'>"

htmlText = htmlText & "<h2>HTML Test</h2>"

htmlText = htmlText & "<br/>"

htmlText = htmlText & "<a href='send_rdl_command:traceon()'>Start Trace</a> <br/>"

htmlText = htmlText & "<a href='send_rdl_command:traceoff()'>Stop Trace</a> <br/>"

htmlText = htmlText & "<a href='send_rdl_command:trace(&quot;Hello World&quot; magenta)'>Trace Test</a> <br/>"

htmlText = htmlText & "<a href='os_command:notepad C:/Users/auser/Desktop/notes.txt'>Notepad</a> <br/>"

htmlText = htmlText & "<a href='browser:Browserhttp://www.bmc.com'>Browser</a> <br/>"

htmlText = htmlText & "<a href='start_emulator'>Session Viewer</a> <br/>"

htmlText = htmlText & "<a href='start_tn3270emulator:IBM-3278-4-E,ioc2.bmc.com,IOC2,23,0,IOC2 Session'>TSO</a> <br/>"

htmlText = htmlText & "<a href='filter:SIMCON01_CON00'>Filter CON00</a> <br/>"

htmlText = htmlText & "<a href='filter:SIMCON01_CON01'>Filter CON01</a> <br/>"

htmlText = htmlText & "<a href='filter:HMCSIM'>Filter HMCSIM</a> <br/>"

htmlText = htmlText & "<a href='start_emulator:SIMCON01_CON00'>Session CON00</a> <br/>"

htmlText = htmlText & "<a href='start_emulator:SIMCON01_CON01'>Session CON01</a> <br/>"

htmlText = htmlText & "</div>"

sendPopupHtml("HTML Test Example", htmlText)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1