<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to rut JavaScript macros? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-rut-JavaScript-macros/m-p/826915#M291156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The problem is the alert instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is execute but the alert prompt no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution (javascript):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;function test(){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var x=new ActiveXObject("WScript.Shell");&amp;nbsp; &lt;/P&gt;&lt;P&gt;x.popup('Antonio is The Best');&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a button and Run Macro. name: test&amp;nbsp;&amp;nbsp;&amp;nbsp; (don't put test()&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 00:48:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-17T00:48:22Z</dc:date>
    <item>
      <title>How to rut JavaScript macros?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-rut-JavaScript-macros/m-p/826914#M291155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My problem is I can't launch JavaScript macros.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I tried the simplest script&lt;/LI&gt;&lt;/UL&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14186452269445522" jivemacro_uid="_14186452269445522" modifiedtitle="true"&gt;
&lt;P&gt;function alert()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;alert("Hello, QlikView");&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;I chose JScript in "Scripting Engine" option.&lt;/LI&gt;&lt;LI&gt;I turned on WebView.&lt;/LI&gt;&lt;LI&gt;I create trigger to run "alert" the macro.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But it doesn't work.&lt;/P&gt;&lt;P&gt;Could anybody help me? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 12:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-rut-JavaScript-macros/m-p/826914#M291155</guid>
      <dc:creator />
      <dc:date>2014-12-15T12:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to rut JavaScript macros?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-rut-JavaScript-macros/m-p/826915#M291156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The problem is the alert instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is execute but the alert prompt no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution (javascript):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;function test(){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var x=new ActiveXObject("WScript.Shell");&amp;nbsp; &lt;/P&gt;&lt;P&gt;x.popup('Antonio is The Best');&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a button and Run Macro. name: test&amp;nbsp;&amp;nbsp;&amp;nbsp; (don't put test()&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 00:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-rut-JavaScript-macros/m-p/826915#M291156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T00:48:22Z</dc:date>
    </item>
  </channel>
</rss>

