<?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: Auto save the pdf created using vbscript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276111#M103030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems as&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;will only work if the report is a single page report, not a multipage report.......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This is the code I am using to save the report as a pdf:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub PrintPDF&lt;BR /&gt;&lt;BR /&gt;Set WSHShell = CreateObject("WScript.Shell") &lt;BR /&gt;&lt;BR /&gt;file = "D:\QlikView\QVApps\Development\Contact Centre\cctest.pdf" &lt;BR /&gt;&lt;BR /&gt;RegKey = "HKEY_CURRENT_USER\Software\QlikViewPDF\" &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1 &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "OutputFile", file &lt;BR /&gt;&lt;BR /&gt;ActiveDocument.PrintDocReport "RP02", "QlikViewPDF" &lt;BR /&gt;&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 6000 &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 0&lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "OutputFile", "" &lt;BR /&gt;&lt;BR /&gt;Set WSHShell = nothing &lt;BR /&gt;&lt;BR /&gt;End sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN style="font-size: 10pt;"&gt;The Save as pop up box always appears when the report is a multipage report but doesn't appear if it's a single page report.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;Does anyone have a solution to this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 09:04:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-29T09:04:15Z</dc:date>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276102#M103021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I have created the pdf of one of my qlikview reports successfully. Now i want to save that pdf file &lt;STRONG&gt;AUTOMATICALLY &lt;/STRONG&gt;i.e. once the pdf is created, SAVE AS dialog should not appear. Instead the pdf file should be saved automatically at a location given in the vbscript code.&lt;/P&gt;&lt;P&gt;I have used FileSystemObject while creating pdf.&lt;/P&gt;&lt;P&gt;I need to know this &lt;STRONG&gt;URGENTLY. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 10:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276102#M103021</guid>
      <dc:creator />
      <dc:date>2012-02-13T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276103#M103022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The specifics depend very much on what you're using as PDF writer.&amp;nbsp; In general, your macro should be making changes in registry that:&lt;BR /&gt;1. Specify the name of the PDF file and its location&lt;BR /&gt;2. Bypass SaveAs&lt;/P&gt;&lt;P&gt;Hope you'll figure out the details.&amp;nbsp; Or try to search this forum, there were similar questions before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 11:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276103#M103022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-13T11:27:01Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276104#M103023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;I tried things but i am still stuck with auto saving pdf.&lt;/P&gt;&lt;P&gt;Can you please share any link or code with which this can be achieved?&lt;/P&gt;&lt;P&gt;I need this &lt;STRONG&gt;URGENTLY.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276104#M103023</guid>
      <dc:creator />
      <dc:date>2012-02-17T10:26:01Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276105#M103024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using this macro you can open the saveas dialog in from in your qv file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SaveAsDialog()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objDialog = CreateObject("SAFRCFileDlg.FileSave")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objDialog.FileName = "C:\Scripts\Script1.vbs"&lt;/P&gt;&lt;P&gt;objDialog.FileType = "VBScript Script"&lt;/P&gt;&lt;P&gt;intReturn = objDialog.OpenFileSaveDlg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If intReturn Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objFile = objFSO.CreateTextFile(objDialog.FileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objFile.WriteLine Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objFile.Close&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;End sub&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;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276105#M103024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T10:49:32Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276106#M103025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; There are many questions like this here, and there are examples, e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/83596#83596"&gt;http://community.qlik.com/message/83596#83596&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it may be different for you, as I mentioned above it depends very much on your PDF writer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;PS: If the question is urgent, I recommend to go to QlikTech support, in parallel to this forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276106#M103025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T11:23:40Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276107#M103026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using PDF-XChange 3.0. Please share link or code and also if there are any settings required to be done in the qv report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 12:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276107#M103026</guid>
      <dc:creator />
      <dc:date>2012-02-23T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276108#M103027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a code for PDF-XChange, sorry.&amp;nbsp; See if you can find anything useful here.&amp;nbsp; It started from QlikPDF, but down the line there were answers regarding XChange as well (long 2-page thread):&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/2039"&gt;http://community.qlik.com/thread/2039&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276108#M103027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-23T16:35:22Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276109#M103028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the save settings of PDF-Xchange you can bypass the save as dialog and always name the file the same . Just implement code to rename/delete it before creating a new one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276109#M103028</guid>
      <dc:creator />
      <dc:date>2012-02-23T16:38:44Z</dc:date>
    </item>
    <item>
      <title>Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276110#M103029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Correct, the bypas settings and pdf file name/location are set in the PDF-Xchange properties.&amp;nbsp; I'd recommend to use macro to rename file immediately after creating it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276110#M103029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-23T19:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276111#M103030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems as&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;will only work if the report is a single page report, not a multipage report.......&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This is the code I am using to save the report as a pdf:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub PrintPDF&lt;BR /&gt;&lt;BR /&gt;Set WSHShell = CreateObject("WScript.Shell") &lt;BR /&gt;&lt;BR /&gt;file = "D:\QlikView\QVApps\Development\Contact Centre\cctest.pdf" &lt;BR /&gt;&lt;BR /&gt;RegKey = "HKEY_CURRENT_USER\Software\QlikViewPDF\" &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1 &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "OutputFile", file &lt;BR /&gt;&lt;BR /&gt;ActiveDocument.PrintDocReport "RP02", "QlikViewPDF" &lt;BR /&gt;&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 6000 &lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 0&lt;BR /&gt;&lt;BR /&gt;WSHShell.RegWrite RegKey &amp;amp; "OutputFile", "" &lt;BR /&gt;&lt;BR /&gt;Set WSHShell = nothing &lt;BR /&gt;&lt;BR /&gt;End sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN style="font-size: 10pt;"&gt;The Save as pop up box always appears when the report is a multipage report but doesn't appear if it's a single page report.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;Does anyone have a solution to this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 09:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276111#M103030</guid>
      <dc:creator />
      <dc:date>2012-03-29T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto save the pdf created using vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276112#M103031</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;anybody has experiance with FreePdfXP and QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 15:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-save-the-pdf-created-using-vbscript/m-p/276112#M103031</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-08-08T15:22:11Z</dc:date>
    </item>
  </channel>
</rss>

