<?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: Cannot run MACRO from command line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260067#M98161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;i have tried the same &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;ActiveDocument.Save&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;in my macro script but this get disappear after every reload, i dont know y this is happening plz help &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Rajni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 07:23:21 GMT</pubDate>
    <dc:creator>rajni_batra</dc:creator>
    <dc:date>2013-01-31T07:23:21Z</dc:date>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260060#M98154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;to evrybody , I'm trying to execute this MACRO to print Report in PDF from Command Line OnPostReload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1)If I reload the data inside QLIKVIEW , the macro is executed&lt;/STRONG&gt;&lt;/SPAN&gt;, If I run qlikview from command line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\Programmi\QlikView\qv.exe&amp;nbsp; /r /NoSecurity "file.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(This is my only way to use qlikview in batch mode because /r &lt;/P&gt;&lt;P&gt; "Thereafter the document will be saved, and QlikView will&lt;/P&gt;&lt;P&gt;close itself...f"rom the manual)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;2)The Macro doesn't work and the print process hangs&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I configure macro OnOpen , I have the same problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the best way to run this macro ( in attachement) from command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oronzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 11:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260060#M98154</guid>
      <dc:creator />
      <dc:date>2011-10-19T11:29:54Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260061#M98155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using /l instead of /r, this will perform the reload but not save and exit, you could however do save and exit in your macro (although I imagine that might be a bit annoying when doing interactive reloads).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260061#M98155</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2011-10-19T12:22:49Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260062#M98156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response,&lt;/P&gt;&lt;P&gt;but I don't know how save and exit inside the macro. Could you give me an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260062#M98156</guid>
      <dc:creator />
      <dc:date>2011-10-19T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260063#M98157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ActiveDocument.Save&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260063#M98157</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2011-10-19T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260064#M98158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you Johan,&lt;/P&gt;&lt;P&gt;I must to know how to set the trigger condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnOpen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set OnOpen the Macro hangs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oronzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 12:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260064#M98158</guid>
      <dc:creator />
      <dc:date>2011-10-19T12:55:11Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260065#M98159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use OnPostReload just as before&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260065#M98159</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2011-10-19T13:14:30Z</dc:date>
    </item>
    <item>
      <title>Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260066#M98160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Johan now it works !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oronzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260066#M98160</guid>
      <dc:creator />
      <dc:date>2011-10-19T13:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260067#M98161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;i have tried the same &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;ActiveDocument.Save&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;in my macro script but this get disappear after every reload, i dont know y this is happening plz help &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Rajni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 07:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260067#M98161</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2013-01-31T07:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run MACRO from command line</title>
      <link>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260068#M98162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI I have implemented the same sucessfully....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 09:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cannot-run-MACRO-from-command-line/m-p/260068#M98162</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-04-04T09:37:50Z</dc:date>
    </item>
  </channel>
</rss>

