<?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 Msgbox autoclose (macro) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284801#M402402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this script but it's not autoclosing the msgbox. Any idea how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function Test1()&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; BtnCode = WshShell.Popup("export",1)&lt;/P&gt;&lt;P&gt;End function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 02:19:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-16T02:19:29Z</dc:date>
    <item>
      <title>Msgbox autoclose (macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284801#M402402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this script but it's not autoclosing the msgbox. Any idea how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function Test1()&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; BtnCode = WshShell.Popup("export",1)&lt;/P&gt;&lt;P&gt;End function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 02:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284801#M402402</guid>
      <dc:creator />
      <dc:date>2017-02-16T02:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Msgbox autoclose (macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284802#M402403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2017-02-16 03_56_38-Edit Module.png" class="jive-image image-1" src="/legacyfs/online/153288_2017-02-16 03_56_38-Edit Module.png" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Autoclosing will never work due to a bug that Microsoft don't want to fix in WshShell ... it has nothing to do with QlikView and will never be fixed. It has been complained about for probably much more than 10 years already...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284802#M402403</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-02-16T03:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Msgbox autoclose (macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284803#M402404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually there is a more indirect way of getting it to work anyway by launching mshta.exe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-02-16 04_04_31-Edit Module.png" class="jive-image image-1" src="/legacyfs/online/153289_2017-02-16 04_04_31-Edit Module.png" style="height: 157px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Then the timeout will work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14872144047515297" jivemacro_uid="_14872144047515297"&gt;
&lt;P&gt;Sub ShowExportStart&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CreateObject("WScript.Shell").Run "mshta.exe vbscript:close(CreateObject(""WScript.Shell"").Popup(""Test"",2,""Real%20Time%20Status%20Message""))"&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284803#M402404</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-02-16T03:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Msgbox autoclose (macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284804#M402405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are written Java script. Can you check how &lt;STRONG&gt;Scripting Engine&lt;/STRONG&gt; looks like. It should Javascript&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284804#M402405</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-16T03:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Msgbox autoclose (macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284805#M402406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;amazing! this one works! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Msgbox-autoclose-macro/m-p/1284805#M402406</guid>
      <dc:creator />
      <dc:date>2017-02-16T03:58:28Z</dc:date>
    </item>
  </channel>
</rss>

