<?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 Macro to call a program in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143719#M22863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thats correct. But, when you create a button, you can call a program. I have a "batfile" that i want to execute after reloading the document.&lt;/P&gt;&lt;P&gt;If i can call that batfile in macro and then execute after reloading the script, i't would be nice.&lt;/P&gt;&lt;P&gt;Sorry for my bad english&lt;IMG alt="Huh?" src="http://community.qlik.com/emoticons/emotion-18.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2009 16:13:13 GMT</pubDate>
    <dc:creator>johnan</dc:creator>
    <dc:date>2009-05-08T16:13:13Z</dc:date>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143717#M22861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;I have a button to call a program in QV. Can I load button so that after the script is loaded to automatically make a button press? Or a macro for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 15:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143717#M22861</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T15:53:53Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143718#M22862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnan,&lt;/P&gt;&lt;P&gt;As per my understanding (I may be wrong) , you want a macro to be run on the opening of QlikView document. If it is so, you can assign that macro to &lt;STRONG&gt;Document Event Triggers&lt;/STRONG&gt; - &amp;gt; On Open , using Document properties and selecting Macros tab.&lt;/P&gt;&lt;P&gt;- Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 16:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143718#M22862</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2009-05-08T16:08:55Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143719#M22863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thats correct. But, when you create a button, you can call a program. I have a "batfile" that i want to execute after reloading the document.&lt;/P&gt;&lt;P&gt;If i can call that batfile in macro and then execute after reloading the script, i't would be nice.&lt;/P&gt;&lt;P&gt;Sorry for my bad english&lt;IMG alt="Huh?" src="http://community.qlik.com/emoticons/emotion-18.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 16:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143719#M22863</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T16:13:13Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143720#M22864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Johnan,&lt;/P&gt;&lt;P&gt;You can perhaps use a macro like this:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sub LaunchBatch&lt;BR /&gt; set app=ActiveDocument.GetApplication&lt;BR /&gt; app.Launch "c:\test.bat",""&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 16:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143720#M22864</guid>
      <dc:creator />
      <dc:date>2009-05-08T16:31:29Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143721#M22865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i tried but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected end of statement&lt;/P&gt;&lt;P&gt;in macro&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 16:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143721#M22865</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T16:41:24Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143722#M22866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;doc = ActiveDocument&lt;BR /&gt;b = doc.GetSheetObject("BU99")&lt;BR /&gt;b.Press&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 16:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143722#M22866</guid>
      <dc:creator />
      <dc:date>2009-05-08T16:58:40Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143723#M22867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;johnan wrote:&lt;BR /&gt;Hi, i tried but:&lt;BR /&gt;&lt;BR /&gt;Expected end of statement&lt;BR /&gt;in macro&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It works over here, what version of QlikView do you use? Did you point to an existing bat file?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 17:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143723#M22867</guid>
      <dc:creator />
      <dc:date>2009-05-08T17:05:40Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143724#M22868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;8.50&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143724#M22868</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T18:07:19Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143725#M22869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;got this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object required: 'doc'&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143725#M22869</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143726#M22870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copy/paste lost 'set'.&lt;/P&gt;&lt;P&gt;Set doc = ActiveDocument&lt;BR /&gt; Set b = doc.GetSheetObject("BU99")&lt;BR /&gt; b.Press&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143726#M22870</guid>
      <dc:creator />
      <dc:date>2009-05-08T18:38:34Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143727#M22871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;sub pressa&lt;BR /&gt;Set doc = ActiveDocument&lt;BR /&gt;b = doc.GetSheetObject("BU05")&lt;BR /&gt;b.Press&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Object doesn't support this property or method: 'b'&lt;/P&gt;&lt;P&gt;Using QV 8.50&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143727#M22871</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143728#M22872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it works:&lt;/P&gt;&lt;P&gt;sub pressa&lt;BR /&gt;Set doc = ActiveDocument&lt;BR /&gt;Set b = doc.GetSheetObject("BU05")&lt;BR /&gt;b.Press&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143728#M22872</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T18:46:23Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143729#M22873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;next question, can i hide the button&lt;IMG alt="Tongue Tied" src="http://community.qlik.com/emoticons/emotion-7.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143729#M22873</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T18:51:38Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143730#M22874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Properties&amp;gt;Layout&amp;gt;Show..Condtional (1&amp;lt;&amp;gt;1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 18:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143730#M22874</guid>
      <dc:creator />
      <dc:date>2009-05-08T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143731#M22875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Thanx, works good!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 19:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143731#M22875</guid>
      <dc:creator>johnan</dc:creator>
      <dc:date>2009-05-08T19:03:55Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143732#M22876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use macro to launch exe or bat after reload, i do it directly in script using &lt;B&gt;execute&lt;/B&gt; (you have to allow external program execution in the script options on last tab):&lt;/P&gt;&lt;P&gt;set TMPDIR = 'C:\Users\my_user\AppData\Local\Temp';&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;B&gt;// execute a console application&lt;/B&gt;&lt;/I&gt; (this one extract RAR archive content to temporary folder)&lt;BR /&gt;execute extract.exe /rar="my_archive.rar" /output="$(TMPDIR)";&lt;BR /&gt;&lt;BR /&gt;csv_list:&lt;BR /&gt;first 1 LOAD&lt;BR /&gt; filename() as File,&lt;BR /&gt; filetime() as Time,&lt;BR /&gt; filesize() as Size&lt;BR /&gt;FROM $(TMPDIR)\*.csv (ansi, txt, delimiter is ';', embedded labels, no quotes);&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;B&gt;// execute DOS shell command (&lt;/B&gt;&lt;/I&gt;this one delete temporary extracted files)&lt;BR /&gt;execute cmd /d /q /v:off /c "del /f /q $(TMPDIR)\*.csv";&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2009 02:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143732#M22876</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-05-09T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Macro to call a program</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143733#M22877</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 one its working But its not Stoping.... Can any one tell me how to stop this once excecuted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 11:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-call-a-program/m-p/143733#M22877</guid>
      <dc:creator />
      <dc:date>2011-09-19T11:01:15Z</dc:date>
    </item>
  </channel>
</rss>

