<?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: Task Scheduler does not work with macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867424#M303446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it works with the other batch file, so license is not an issue. If I remove OnOpen, how do I make the Qlikview doc automatically run the macro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 09:16:08 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2015-05-28T09:16:08Z</dc:date>
    <item>
      <title>Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867417#M303439</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 have a batch file setup on Windows Task Scheduler which works fine with the following code in the batch file: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo off&lt;/P&gt;&lt;P&gt;echo.&lt;/P&gt;&lt;P&gt;echo Initialize the log file with Command Line reload...&lt;/P&gt;&lt;P&gt;echo Run QlikView and Reload Data...&lt;/P&gt;&lt;P&gt;"C:\Program Files (x86)\QlikView\Qv.exe" /r "C:\Users\bob\Dashboard.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the same batch file does not work if the Qlikview document has a macro that is triggered OnOpen. What might the issue be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 06:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867417#M303439</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T06:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867418#M303440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; .bat file contains below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;@ECHO OFF&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"C:\Program Files\QlikView\qv.exe" /r "Path of your qlikview file"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ECHO Application Reload Completed!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Batch file is been schedule in task schedular..At what time you have to reload..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 06:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867418#M303440</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-05-28T06:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867419#M303441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it doesn't work if the Qlikview document has a macro triggered OnOpen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 06:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867419#M303441</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T06:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867420#M303442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work. What happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867420#M303442</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-05-28T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867421#M303443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing happens actually. It just says "Running". If I double click the batch file though, it works. Just not through Windows Task Scheduler. Are there any alternative task schedulers I could try out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867421#M303443</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T08:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867422#M303444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you remove all actions from OnOpen does it work then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if Task scheduler runs on a different account then yours it needs a license, That is probably the issue here,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867422#M303444</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-05-28T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867423#M303445</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;"C:\Program Files (x86)\QlikView\Qv.exe;" /r "C:\Users\bob\Dashboard.qvw;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867423#M303445</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2015-05-28T09:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867424#M303446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it works with the other batch file, so license is not an issue. If I remove OnOpen, how do I make the Qlikview doc automatically run the macro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867424#M303446</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T09:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867425#M303447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;Well it might be something in your macro that stops the loading process.&lt;/P&gt;&lt;P&gt;Can you give us the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867425#M303447</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-05-28T09:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867426#M303448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, I used the code to send PDF reports via email:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Bonds&lt;/P&gt;&lt;P&gt;vReport = "RP19" 'Set report&lt;/P&gt;&lt;P&gt;vName = "Bonds" 'Name of output pdf&lt;/P&gt;&lt;P&gt;ActiveDocument.PrintReport(vReport), "Bullzip PDF Printer", false 'Printreport&lt;/P&gt;&lt;P&gt;reportFile = "Z:\Reporting\PDF Reports\" &amp;amp; vName &amp;amp;".pdf" 'Setting outputname&lt;/P&gt;&lt;P&gt;MyPrintPDFWithBullZip(reportFile) 'Call pdf printer&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;&lt;P&gt;zendDagrapportBonds&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function zendDagrapportBonds()&lt;/P&gt;&lt;P&gt;Dim objEmail&lt;/P&gt;&lt;P&gt;Const cdoSendUsingPort = 2 ' Send the message using SMTP&lt;/P&gt;&lt;P&gt;Const cdoAnonymous = 0 'Do not authenticate&lt;/P&gt;&lt;P&gt;Const cdoBasic = 1 'basic (clear-text) authentication&lt;/P&gt;&lt;P&gt;Const cdoNTLM = 2 'NTLM&lt;/P&gt;&lt;P&gt;SMTPServer = "XXXX"&lt;/P&gt;&lt;P&gt;Const SMTPPort = 25 ' Port number for SMTP&lt;/P&gt;&lt;P&gt;Const SMTPTimeout = 60 ' Timeout for SMTP in seconds&lt;/P&gt;&lt;P&gt;'Sending mail&lt;/P&gt;&lt;P&gt;Set objEmail = CreateObject("CDO.Message")&lt;/P&gt;&lt;P&gt;Set objConf = objEmail.Configuration&lt;/P&gt;&lt;P&gt;Set objFlds = objConf.Fields&lt;/P&gt;&lt;P&gt;With objFlds&lt;/P&gt;&lt;P&gt;'---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;' SMTP server details&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = cdoSendUsingPort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = SMTPServer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = cdoAnonymous&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = SMTPPort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = False&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&lt;/A&gt;&lt;SPAN&gt;") = SMTPTimeout&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.Update&lt;/P&gt;&lt;P&gt;'---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;End With&lt;/P&gt;&lt;P&gt;vName = "Bonds"&lt;/P&gt;&lt;P&gt;vName2 = "CDS"&lt;/P&gt;&lt;P&gt;strbody = "Hi Lee/Grant" &amp;amp; vbNewLine &amp;amp; vbNewLine&lt;/P&gt;&lt;P&gt;objEmail.To = "sifat" 'Email Recipient&lt;/P&gt;&lt;P&gt;objEmail.From = "sifat" 'Email Sender&lt;/P&gt;&lt;P&gt;objEmail.cc = "sifat"&lt;/P&gt;&lt;P&gt;objEmail.Subject = "Desk Report" ' Subject&lt;/P&gt;&lt;P&gt;objEmail.TextBody = strbody&lt;/P&gt;&lt;P&gt;objEmail.AddAttachment "Z:\Reporting\PDF Reports\" &amp;amp; vName &amp;amp;".pdf" ' Attachement&lt;/P&gt;&lt;P&gt;objEmail.AddAttachment "Z:\Reporting\PDF Reports\" &amp;amp; vName2 &amp;amp;".pdf" ' Attachement&lt;/P&gt;&lt;P&gt;objEmail.Send&lt;/P&gt;&lt;P&gt;Set objFlds = Nothing&lt;/P&gt;&lt;P&gt;Set objConf = Nothing&lt;/P&gt;&lt;P&gt;Set objEmail = Nothing&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;end function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)&lt;/P&gt;&lt;P&gt;set obj = CreateObject("Bullzip.pdfSettings")&lt;/P&gt;&lt;P&gt;obj.PrinterName = "Bullzip PDF Printer"&lt;/P&gt;&lt;P&gt;obj.SetValue "Output" , pdfOutputFile&lt;/P&gt;&lt;P&gt;obj.SetValue "ConfirmOverwrite", "no"&lt;/P&gt;&lt;P&gt;obj.SetValue "ShowSaveAS", "never"&lt;/P&gt;&lt;P&gt;obj.SetValue "ShowSettings", "never"&lt;/P&gt;&lt;P&gt;obj.SetValue "ShowPDF", "no"&lt;/P&gt;&lt;P&gt;obj.SetValue "RememberLastFileName", "no"&lt;/P&gt;&lt;P&gt;obj.SetValue "RememberLastFolderName", "no"&lt;/P&gt;&lt;P&gt;obj.SetValue "ShowProgressFinished", "no"&lt;/P&gt;&lt;P&gt;obj.SetValue "ShowProgress", "no"&lt;/P&gt;&lt;P&gt;obj.WriteSettings True&lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867426#M303448</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T09:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867427#M303449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just replied with the code but it has links for SMTP server so it says "Currently being moderated".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867427#M303449</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867428#M303450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is still not working. It still shows "Running". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867428#M303450</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867429#M303451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the OnOpen macro fires when your run with /r ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867429#M303451</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-28T10:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867430#M303452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? What should I use then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867430#M303452</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-28T10:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867431#M303453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnPostReload? But if the OnOpen trigger doesn't fire, then what is blocking your document?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867431#M303453</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-05-28T10:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867432#M303454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnOpen will fire when using /r.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it actions or macrocode?&lt;/P&gt;&lt;P&gt;Try to remove code until it works, then try to figure out what the problem is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867432#M303454</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-05-28T11:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867433#M303455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using Z:\ drive. If you log in as the service account, does Z drive exists then?&lt;/P&gt;&lt;P&gt;Has the service account correct security rights on that share?&lt;/P&gt;&lt;P&gt;I recommend using UNC instead of mapped drives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Login as the service account and do a manual reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 06:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867433#M303455</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-05-29T06:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867434#M303456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only solution I have got to work so far is this:&lt;/P&gt;&lt;P&gt;Add this at the end of your macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.Save&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P&gt;This will save the reloaded document and close the document when finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your batchfile should look something like this:&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /l /NoSecurity "C:\QV\ReportGenerator.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/l opens and reload the document (does not save and close like /r&lt;/P&gt;&lt;P&gt;/NoSecurity makes sure that you dont have to click a button to accept macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 08:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867434#M303456</guid>
      <dc:creator>martin_dideriks</dc:creator>
      <dc:date>2015-05-29T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Task Scheduler does not work with macro</title>
      <link>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867435#M303457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your help. It seems even the other BAT file is not working which leads me to believe I may have lost local admin rights to run tasks when my user is logged off. I need the privileges to run tasks when logged off (run as a service) first. Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 08:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Task-Scheduler-does-not-work-with-macro/m-p/867435#M303457</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2015-05-29T08:39:09Z</dc:date>
    </item>
  </channel>
</rss>

