<?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 Automatic Reload and macro execution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173782#M1329602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm in troubles with macros!&lt;/P&gt;&lt;P&gt;I've setted up a qlikview application (very simple).&lt;/P&gt;&lt;P&gt;I've triggered a macro script after reload.&lt;/P&gt;&lt;P&gt;If I reload the application all works fine and the macro is excuted.&lt;/P&gt;&lt;P&gt;Now I need to automate the reload and macro execution, so I've writed a .bat file that reload the document (with /r and /nosecurity options). When I lunch the .bat file the document seems to be reloaded but the execution stall at the macro point (the sheel prompt seems to be inactive after reload).&lt;/P&gt;&lt;P&gt;I've also tried with publisher, but doesn't work...&lt;/P&gt;&lt;P&gt;The macro I use simply send a mail.&lt;/P&gt;&lt;P&gt;How can I automate the reloading and macro executing processes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Automatic Reload and macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173782#M1329602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm in troubles with macros!&lt;/P&gt;&lt;P&gt;I've setted up a qlikview application (very simple).&lt;/P&gt;&lt;P&gt;I've triggered a macro script after reload.&lt;/P&gt;&lt;P&gt;If I reload the application all works fine and the macro is excuted.&lt;/P&gt;&lt;P&gt;Now I need to automate the reload and macro execution, so I've writed a .bat file that reload the document (with /r and /nosecurity options). When I lunch the .bat file the document seems to be reloaded but the execution stall at the macro point (the sheel prompt seems to be inactive after reload).&lt;/P&gt;&lt;P&gt;I've also tried with publisher, but doesn't work...&lt;/P&gt;&lt;P&gt;The macro I use simply send a mail.&lt;/P&gt;&lt;P&gt;How can I automate the reloading and macro executing processes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173782#M1329602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Automatic Reload and macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173783#M1329603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have faced the same situation like this. When you reload the application, it sends the mail but when you automate the application through schedulers, it will just reload the application but will not execute the Macro.&lt;/P&gt;&lt;P&gt;Use a variable in your batch file and use that in the macro execution.&lt;/P&gt;&lt;P&gt;"c:\Program Files\QlikView\QV.exe" /r /vbatch_flag=1 c:\reports\Inventory.qvw&lt;BR /&gt;&lt;BR /&gt;First time just reload the application and set the variable in the macro that if the value satisfies, then and only it will send the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second time Use the above script that will send the variable value.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMP Run the Macro on the Opening of the Secong time Application.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173783#M1329603</guid>
      <dc:creator />
      <dc:date>2011-02-02T08:39:59Z</dc:date>
    </item>
    <item>
      <title>Automatic Reload and macro execution</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173784#M1329606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;try using below script.&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /r "E:\Daily QVD &amp;amp; Appl\Apps Daily QVD Generator.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Reload-and-macro-execution/m-p/173784#M1329606</guid>
      <dc:creator />
      <dc:date>2011-02-02T08:47:34Z</dc:date>
    </item>
  </channel>
</rss>

