<?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: Automatizar envio de pdf in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949517#M32391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agnaldo, tente fazer assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adicione uma macro que faz a recarga da sua aplicação e no final feche o aplicativo, conforme exemplo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub PrintReport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;ActiveDocument.Reload&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.PrintDocReport "RP01","Teste"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; fln = "S:\BI\TecnoFlex\PDF\myreport.pdf"&lt;/P&gt;&lt;P&gt;&amp;nbsp; RegKey = "HKEY_CURRENT_USER\Software\QlikViewPDF\"&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", fln&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", ""&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WSHShell = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.Quit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agora em sua macro já existe o comando de fazer a recarga e feche o QlikView. O que você precisa alterar em seu batch é remover a linha de recarga de lá e também o processo de fechar o qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ficaria mais ou menos assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start /wait "C:\Program Files\QlikView" Qv.exe /NoSecurity "C:\Arquivos\Relatorio Gestao 1.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agora é só agendar esse bat que você criou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBSERVAÇÃO: Quando você adiciona essas linhas de comando (recarga e fechar o qlikview), você sempre terá que abrir essa aplicação ser executar a macro, como fazer isso? Deixe a aplicação aparecer na lista de documentos recentes abertos no seu qlikview e clique sobre ela segurando Ctrl + Shift.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 12:40:39 GMT</pubDate>
    <dc:creator>nicolett_yuri</dc:creator>
    <dc:date>2015-12-17T12:40:39Z</dc:date>
    <item>
      <title>Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949513#M32387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom pessoal, &lt;/P&gt;&lt;P&gt;Consigo enviar PDF via e-mail através de disparadores usando macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mas crie bat para chamar aplicação pelo controle de tarefas do windows.&lt;/P&gt;&lt;P&gt;Mas estou enviando 02 email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preciso de uma dica.&lt;/P&gt;&lt;P&gt;acho que estou fazendo algo de errado.&lt;/P&gt;&lt;P&gt;o arquivo abaixo&lt;/P&gt;&lt;P&gt;Crie 03 Bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Carregar Bat: Bat1&lt;/P&gt;&lt;P&gt;start /MIN C:\Geral\Script\abrir.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Abrir Qvw: Bat2&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\QV.EXE" /r "C:\Geral\EmailPDF\12.qvw"&lt;/P&gt;&lt;P&gt;@echo off &lt;/P&gt;&lt;P&gt;taskkill /F /IM Qv.exe&lt;/P&gt;&lt;P&gt;"C:\Geral\EmailPDF\12.qvw"&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Fechar a aplicação: Bat3&lt;/P&gt;&lt;P&gt;@echo off &lt;/P&gt;&lt;P&gt;taskkill /F /IM Qv.exe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguma dica para automatizar este qvw em anexo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 11:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949513#M32387</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T11:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949514#M32388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agnaldo, não consegui entender qual a sua dúvida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949514#M32388</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-12-17T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949515#M32389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Estou enviando email duas vezes.&lt;/P&gt;&lt;P&gt;Pois na hora que o arquivo qvw abre pelo bat ele gera o pdf.(email)&lt;/P&gt;&lt;P&gt;Depois que ele execultar o script também gerar o pdf.(email)&lt;/P&gt;&lt;P&gt;Então eu tenho dois email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;precisava uma dica, para saber como fazer gerar apenas um email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949515#M32389</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949516#M32390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Estou usando para gerar o macro &lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;PDFCreator &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Esta funcionando 100%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949516#M32390</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949517#M32391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agnaldo, tente fazer assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adicione uma macro que faz a recarga da sua aplicação e no final feche o aplicativo, conforme exemplo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub PrintReport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;ActiveDocument.Reload&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.PrintDocReport "RP01","Teste"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; fln = "S:\BI\TecnoFlex\PDF\myreport.pdf"&lt;/P&gt;&lt;P&gt;&amp;nbsp; RegKey = "HKEY_CURRENT_USER\Software\QlikViewPDF\"&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", fln&lt;/P&gt;&lt;P&gt;&amp;nbsp; ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", ""&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WSHShell = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.Quit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agora em sua macro já existe o comando de fazer a recarga e feche o QlikView. O que você precisa alterar em seu batch é remover a linha de recarga de lá e também o processo de fechar o qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ficaria mais ou menos assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start /wait "C:\Program Files\QlikView" Qv.exe /NoSecurity "C:\Arquivos\Relatorio Gestao 1.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agora é só agendar esse bat que você criou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBSERVAÇÃO: Quando você adiciona essas linhas de comando (recarga e fechar o qlikview), você sempre terá que abrir essa aplicação ser executar a macro, como fazer isso? Deixe a aplicação aparecer na lista de documentos recentes abertos no seu qlikview e clique sobre ela segurando Ctrl + Shift.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 12:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949517#M32391</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-12-17T12:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949518#M32392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri, &lt;/P&gt;&lt;P&gt;o PDF está sendo enviado um só agora.&lt;/P&gt;&lt;P&gt;Mas o qlikview não está carregando. como estava antes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949518#M32392</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T13:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949519#M32393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O Script de carregar dados&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949519#M32393</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949520#M32394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quando você executa a linha de comando : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;start /wait "C:\Program Files\QlikView" Qv.exe /NoSecurity "C:\Arquivos\Relatorio Gestao 1.qvw"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ele abre a aplicação e faz uma recarga, isso se você adicionou as linhas em sua macro, conforme postei no comentário anterior, são elas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ActiveDocument.Reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;e&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ActiveDocument.GetApplication.Quit&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Faça o teste, execute esta linha e veja o comportamento. O passo deve ser: Abre a aplicação, faz a recarga, gera o pdf e fecha a aplicação.&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949520#M32394</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-12-17T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949521#M32395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ele faz a recarga oculta Yuri.&lt;/P&gt;&lt;P&gt;Pois fiz um teste com 1000.000 de registros ele demora a abrir.&lt;/P&gt;&lt;P&gt;É isto mesmo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949521#M32395</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T13:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949522#M32396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isso mesmo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O que você pode ter notado que ele não atualiza é porque ele não esta gravando os dados após a atualização. O que isso quer dizer? Sua aplicação faz a recarga, atualiza os dados, gera o pdf e fecha o qlikview sem salvar. Para salvar, você pode adicionar uma linha de macro para isso:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Save&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;ActiveDocument.GetApplication.Quit&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949522#M32396</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-12-17T13:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949523#M32397</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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Perfeito Yuri&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Muito Obrigado pela atenção e competência.&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Como ficou:&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ActiveDocument.Reload&lt;/STRONG&gt;&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&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;&amp;nbsp; ActiveDocument.PrintDocReport "RP01","Teste"&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;&amp;nbsp; Set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; fln = "S:\BI\TecnoFlex\PDF\myreport.pdf"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; RegKey = "HKEY_CURRENT_USER\Software\QlikViewPDF\"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", fln&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "BypassSaveAs", 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; WSHShell.RegWrite RegKey &amp;amp; "OutputFile", ""&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Set WSHShell = nothing&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ActiveDocument.Save&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ActiveDocument.GetApplication.Quit&lt;/STRONG&gt;&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;end sub&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;Bat:&lt;/P&gt;&lt;P&gt;start /wait "C:\Program Files\QlikView" Qv.exe /NoSecurity "C:\Geral\EmailPDF\12.qvw"&lt;/P&gt;&lt;P&gt;@echo off&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 14:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949523#M32397</guid>
      <dc:creator>Ribeiro</dc:creator>
      <dc:date>2015-12-17T14:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatizar envio de pdf</title>
      <link>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949524#M32398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfeito!!&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 15:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Automatizar-envio-de-pdf/m-p/949524#M32398</guid>
      <dc:creator>nicolett_yuri</dc:creator>
      <dc:date>2015-12-17T15:32:05Z</dc:date>
    </item>
  </channel>
</rss>

