<?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: Open File for another application in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Open-File-for-another-application/m-p/77864#M29964</link>
    <description>Hi Thabiso,&lt;BR /&gt;&lt;BR /&gt;Generally, applications have command line arguments or parameters enabled, which enables your to provide a value or instruction to the application at launch time.&lt;BR /&gt;&lt;BR /&gt;A lot of the time, the application will allow you to specify the document to open in the application at launch, by simply providing the document path+name as a command line argument.&lt;BR /&gt;&lt;BR /&gt;Google "Qlikview command line arguments" to find a list of valid arguments for this application.&lt;BR /&gt;&lt;BR /&gt;There are a few options for using command line arguments in Blue Prism; I will demo 2 of these!&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;BR /&gt;Use the command line parameters field in Application Modeller to provide the location of the file to open when launching the application. The example below will open the document named BrandStatement.txt in Notepad.exe when Blue Prism launches Notepad.
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10829.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/10999i458AD837E852AF9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="10829.png" alt="10829.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;I assume you will need to open different files at run-time. You can do this through the Navigate stage using a Launch Action, and supplying the path to the document to open in the &lt;STRONG&gt;'CommandLineParams'&lt;/STRONG&gt; input parameters field. &lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10830.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11001i46D9E94049D89E76/image-size/large?v=v2&amp;amp;px=999" role="button" title="10830.png" alt="10830.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;BR /&gt;Use the &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; standard Blue Prism utility Business Object which can be imported from the &lt;A href="https://digitalexchange.blueprism.com/dx/" target="_blank" rel="noopener" title="Blue Prism Digital Exchange"&gt;Blue Prism Digital Exchange&lt;/A&gt;&amp;nbsp;(search for&amp;nbsp;&lt;EM&gt;Environment Blue Prism).&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;Add an Action to your Process&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; from the Business Object drop-down list&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Start Process&lt;/STRONG&gt; from from the Action drop-down list&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Application&lt;/STRONG&gt;&amp;nbsp;input parameter to the path to your *.exe (C:\.......\Qlikview.exe)&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Arguments&lt;/STRONG&gt; input parameter to the location of the file to open at launch&lt;/LI&gt;
&lt;/UL&gt;
&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10831.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11002i4115C579836CF4FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="10831.png" alt="10831.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;If you are looking to achieve something different, please provide a little more information.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Developer Program Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sun, 24 May 2020 14:24:00 GMT</pubDate>
    <dc:creator>Carl__Carter</dc:creator>
    <dc:date>2020-05-24T14:24:00Z</dc:date>
    <item>
      <title>Open File for another application</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Open-File-for-another-application/m-p/77863#M29963</link>
      <description>Hi Guys.&lt;BR /&gt;&lt;BR /&gt;I've successfully managed to open the application and open folder window in Qlikview by spying.&lt;BR /&gt;&lt;BR /&gt;My current solution has been spying on the buttons and clicking on the files using the file name (static)&lt;BR /&gt;&lt;BR /&gt;1. Firstly is there a shorter way to open folders and select files for other applications such as Qlikview&lt;BR /&gt;2. Is there a way to make the selection dynamic&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thabiso Thebe&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 23 May 2020 18:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Open-File-for-another-application/m-p/77863#M29963</guid>
      <dc:creator>ThabisoThebe</dc:creator>
      <dc:date>2020-05-23T18:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Open File for another application</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Open-File-for-another-application/m-p/77864#M29964</link>
      <description>Hi Thabiso,&lt;BR /&gt;&lt;BR /&gt;Generally, applications have command line arguments or parameters enabled, which enables your to provide a value or instruction to the application at launch time.&lt;BR /&gt;&lt;BR /&gt;A lot of the time, the application will allow you to specify the document to open in the application at launch, by simply providing the document path+name as a command line argument.&lt;BR /&gt;&lt;BR /&gt;Google "Qlikview command line arguments" to find a list of valid arguments for this application.&lt;BR /&gt;&lt;BR /&gt;There are a few options for using command line arguments in Blue Prism; I will demo 2 of these!&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;&lt;BR /&gt;Use the command line parameters field in Application Modeller to provide the location of the file to open when launching the application. The example below will open the document named BrandStatement.txt in Notepad.exe when Blue Prism launches Notepad.
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10829.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/10999i458AD837E852AF9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="10829.png" alt="10829.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;I assume you will need to open different files at run-time. You can do this through the Navigate stage using a Launch Action, and supplying the path to the document to open in the &lt;STRONG&gt;'CommandLineParams'&lt;/STRONG&gt; input parameters field. &lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10830.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11001i46D9E94049D89E76/image-size/large?v=v2&amp;amp;px=999" role="button" title="10830.png" alt="10830.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;BR /&gt;Use the &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; standard Blue Prism utility Business Object which can be imported from the &lt;A href="https://digitalexchange.blueprism.com/dx/" target="_blank" rel="noopener" title="Blue Prism Digital Exchange"&gt;Blue Prism Digital Exchange&lt;/A&gt;&amp;nbsp;(search for&amp;nbsp;&lt;EM&gt;Environment Blue Prism).&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;Add an Action to your Process&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Utility - Environment&lt;/STRONG&gt; from the Business Object drop-down list&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Start Process&lt;/STRONG&gt; from from the Action drop-down list&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Application&lt;/STRONG&gt;&amp;nbsp;input parameter to the path to your *.exe (C:\.......\Qlikview.exe)&lt;/LI&gt;
&lt;LI&gt;Set the &lt;STRONG&gt;Arguments&lt;/STRONG&gt; input parameter to the location of the file to open at launch&lt;/LI&gt;
&lt;/UL&gt;
&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10831.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11002i4115C579836CF4FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="10831.png" alt="10831.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;If you are looking to achieve something different, please provide a little more information.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Developer Program Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 24 May 2020 14:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Open-File-for-another-application/m-p/77864#M29964</guid>
      <dc:creator>Carl__Carter</dc:creator>
      <dc:date>2020-05-24T14:24:00Z</dc:date>
    </item>
  </channel>
</rss>

