<?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 Hi Eric,
We've had the sameâ€¦ in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80053#M31843</link>
    <description>Hi Eric,
We've had the same kind of issue.Â&amp;nbsp; Including a delay was the same solution we came up with and it hsa worked reasonably well.Â&amp;nbsp; Great minds and all that!</description>
    <pubDate>Tue, 07 May 2019 16:23:00 GMT</pubDate>
    <dc:creator>BenKirimlidis</dc:creator>
    <dc:date>2019-05-07T16:23:00Z</dc:date>
    <item>
      <title>Mainframe Global Send Key Problem</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80046#M31836</link>
      <description>Hi guys,

I am working on a process that involves mainframe. I am using Micro Focus Reflection 9.X and earlier (COM API).

I run into a problem that he global send key will not work once I loose focus on the terminal window. For example, I click on my browser when the process is running, or there is a pop up from somewhere else. Actually, global send keys, global send key events and set cursor position all stopped working. Launch and terminate still work tho.

There is no activate window in navigate stage so it seems nothing I can do to fix this... Has anyone experienced similar issue like this? Is there a work around?

Thanks.</description>
      <pubDate>Thu, 02 May 2019 19:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80046#M31836</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2019-05-02T19:58:00Z</dc:date>
    </item>
    <item>
      <title>This is how a PC works!
Â 
Ifâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80047#M31837</link>
      <description>This is how a PC works!
Â&amp;nbsp;
If you click on a browser, then you type things on your keyboard, would you expect what you typed to appear on the mainframe window?Â&amp;nbsp; :)
Â&amp;nbsp;
You should be able to spy the whole window inÂ&amp;nbsp;Win32 mode, then Activate this prior to performing the Sendkeys.Â&amp;nbsp; You get used to this developer discipline the more you use it.</description>
      <pubDate>Fri, 03 May 2019 01:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80047#M31837</guid>
      <dc:creator>blue_meanie</dc:creator>
      <dc:date>2019-05-03T01:26:00Z</dc:date>
    </item>
    <item>
      <title>Hi Blue_Meanie,
I know how aâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80048#M31838</link>
      <description>Hi Blue_Meanie,
I know how a PC works.Â&amp;nbsp;
My point is, with region mode I can activate window with Blue Prism navigateÂ&amp;nbsp;stage to make sure the cursor is in correct place. With html mode, Blue Prism can find the correct element once it is properly defined, no matter where the focus is.
Working with mainframe, there is no option to activate this window with navigate stage. This make interacting with terminal very unsafe. Any unexpected pop up will easily break the process. The only work around will be terminate and re-launch.
What version are you using? I am using version 6.4.2, mainframe application,Â&amp;nbsp;Micro Focus Reflection 9.X and earlier (COM API). There is no such thing as activationÂ&amp;nbsp;prior to performing the SendKeys, sir.
Â&amp;nbsp;</description>
      <pubDate>Fri, 03 May 2019 18:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80048#M31838</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2019-05-03T18:19:00Z</dc:date>
    </item>
    <item>
      <title>Peace! We're all friendsâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80049#M31839</link>
      <description>Peace! We're all friends here.
How about creating an object that attaches to the mainframe as if it wasÂ&amp;nbsp;a windows app, spy the main window and create a page called Activate. Then call this new object from the original object.</description>
      <pubDate>Fri, 03 May 2019 22:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80049#M31839</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2019-05-03T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Thanks John! I reallyâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80050#M31840</link>
      <description>Thanks John! I really appreciate it. I will go on and try this.Â&amp;nbsp;</description>
      <pubDate>Mon, 06 May 2019 17:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80050#M31840</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2019-05-06T17:51:00Z</dc:date>
    </item>
    <item>
      <title>Hi Eric,
I had one processâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80051#M31841</link>
      <description>Hi Eric,
I had one process where I was able to work with Browser and Mainframe back to back. As you mentioned in original thread, launch/ terminate is working fine so BP is attached to Mainframe session correctly.
If you see option 'Mainframe Send Keys' in navigation stage, use that instead of 'Global Send Keys'. In my experience, we don't need to activate mainframe session, only attach is required. Try checking if Mainframe Mnemonic (send keys text) in respective emulator documentation that you are using is correct or not.
Could you share the error that you're getting?
- Dhruvin</description>
      <pubDate>Mon, 06 May 2019 23:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80051#M31841</guid>
      <dc:creator>DhruvinPatel</dc:creator>
      <dc:date>2019-05-06T23:02:00Z</dc:date>
    </item>
    <item>
      <title>Hi Dhruvin,
Thanks forâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80052#M31842</link>
      <description>Hi Dhruvin,
Thanks for replying. I can share some info with you, but I do not really have errors. Let me know what do you want to see. It is the situation that sending key stroke is not safely limited to the terminal "handle" makes me worry. If the send key does not work as intended, the process will not function properly or not functional at all.
I do not have the option 'Mainframe Send Keys' in navigation stage. I use write stage a lot to avoid using send keys as much as I can. But {ENTER}, {F1}, {F2} ... has to be entered by navigation stage.
Eventually, my work around is using conditional wait to check every time I try to send a key stroke, before and after. I made a text type data field, to record the status how far I have gone into the process, so if the input failed I can terminate and launch again and go to the proper step according to my status log. Naturally, the focus is on the terminal window after it is launched. It is not an elegant way to solve this problem, but it is working fine... for now... fingers crossed</description>
      <pubDate>Tue, 07 May 2019 02:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80052#M31842</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2019-05-07T02:08:00Z</dc:date>
    </item>
    <item>
      <title>Hi Eric,
We've had the sameâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80053#M31843</link>
      <description>Hi Eric,
We've had the same kind of issue.Â&amp;nbsp; Including a delay was the same solution we came up with and it hsa worked reasonably well.Â&amp;nbsp; Great minds and all that!</description>
      <pubDate>Tue, 07 May 2019 16:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80053#M31843</guid>
      <dc:creator>BenKirimlidis</dc:creator>
      <dc:date>2019-05-07T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Hey Ben,
Good to hear youâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80054#M31844</link>
      <description>Hey Ben,
Good to hear you sorted it out. I do have delays all over the place, timed delays and conditional delays. But it did not solve my problem. Hope someday a newer version Blue Prism can be very easy to work with and does not have too many unclear bugs.
Thanks Ben.</description>
      <pubDate>Wed, 08 May 2019 01:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Mainframe-Global-Send-Key-Problem/m-p/80054#M31844</guid>
      <dc:creator>EricLiu</dc:creator>
      <dc:date>2019-05-08T01:17:00Z</dc:date>
    </item>
  </channel>
</rss>

