<?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 Jasre did you find the in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83236#M34547</link>
    <description>Jasre did you find the solution for this? I have the same problem. I have to switch the focus between an IBM mainframe and a lotus notes application, but I don't know how can I birng the mainframe application foreground again. (i don't wanna restart it every time i have to use it)</description>
    <pubDate>Fri, 31 Mar 2017 17:52:00 GMT</pubDate>
    <dc:creator>AkosPasztor</dc:creator>
    <dc:date>2017-03-31T17:52:00Z</dc:date>
    <item>
      <title>Global Send Keys Event requries mainframe to be in focus</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83232#M34543</link>
      <description>I am working on an object which is using interfacing with an IBM Mainframe. To confirm inputs is used either Ctrl ("{CTRL}") or NumPad Enter ("{Enter}"). While both of these works just fine while the mainframe window is in focus, they do not work if any other window is the one in focus.
E.g. if you press "Run" in the Object Editor, the editor will become gain focus, and Global Send Keys Event no longer works. This can be countered by manually clicking the mainframe window to regain focus, but this seems somewhat silly.

Is there anyone who knows a way to get Global Send Keys Event to work on an IBM Mainframe, regardless of whether or not it is the focused window?</description>
      <pubDate>Tue, 09 Aug 2016 18:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83232#M34543</guid>
      <dc:creator>jasre</dc:creator>
      <dc:date>2016-08-09T18:45:00Z</dc:date>
    </item>
    <item>
      <title>I might (unfortunately) have</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83233#M34544</link>
      <description>I might (unfortunately) have found the answer to my own question...
*The importance of focus*
It is necessary for the application to have the focus in order for Global Send Key Events to work, otherwise nothing is sent. To retain the focus when the keys are being sent it may be necessary to launch the window and then immediately send the keys as the next step.
Source: &lt;A href="https://blueprism.knowledgeowl.com/help/how-do-i-use-global-send-key-ev" target="test_blank"&gt;https://blueprism.knowledgeowl.com/help/how-do-i-use-global-send-key-ev&lt;/A&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83233#M34544</guid>
      <dc:creator>jasre</dc:creator>
      <dc:date>2016-08-09T18:55:00Z</dc:date>
    </item>
    <item>
      <title>You shouldn't need to use</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83234#M34545</link>
      <description>You shouldn't need to use global send key events with mainframe. Blue Prism offers native support to several types of mainframe emulator e.g. IBM Personal Communications, Attachmate etc which allow you to read and write to the screen using the emulators own automation objects or API. This provides the fastest method that doesn't require the emulator to be activated.  Which mainframe emulator are you using?</description>
      <pubDate>Fri, 12 Aug 2016 21:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83234#M34545</guid>
      <dc:creator>ChrisSneddon</dc:creator>
      <dc:date>2016-08-12T21:44:00Z</dc:date>
    </item>
    <item>
      <title>As far as I can tell, I am</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83235#M34546</link>
      <description>As far as I can tell, I am using IBM Personal Communications. I have tried choosing both ""Mainframe (IBM)"" and ""Mainframe (IBM PCom HLLAPI)"" in the Application Modeller Wizard. Both works to some extend, but the one called ""Mainframe (IBM)"" seems to work best. No matter which I pick though, the window still needs to be in focus, if I am to send the ""Enter"" equivalent command, which is ""Ctrl"".</description>
      <pubDate>Tue, 16 Aug 2016 12:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83235#M34546</guid>
      <dc:creator>jasre</dc:creator>
      <dc:date>2016-08-16T12:06:00Z</dc:date>
    </item>
    <item>
      <title>Jasre did you find the</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83236#M34547</link>
      <description>Jasre did you find the solution for this? I have the same problem. I have to switch the focus between an IBM mainframe and a lotus notes application, but I don't know how can I birng the mainframe application foreground again. (i don't wanna restart it every time i have to use it)</description>
      <pubDate>Fri, 31 Mar 2017 17:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83236#M34547</guid>
      <dc:creator>AkosPasztor</dc:creator>
      <dc:date>2017-03-31T17:52:00Z</dc:date>
    </item>
    <item>
      <title>You should be using the</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83237#M34548</link>
      <description>You should be using the Mainframe emulator, there is a guide on mainframe automation in the portal, there are lots of knowledgebase articles about mainframe automation, and if you are still having problems using the mainframe interface reach out to someone in Blue Prism for support/help.
If you do need to interface with a mainframe using the windows interface (i.e. if it is over Citrix) - there is also a guide on the portal about surface automation of mainframe emulators.
Focusing/activating windows is basic Surface Automation - the surface automation tells you all about how to active appliactions.</description>
      <pubDate>Fri, 31 Mar 2017 18:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83237#M34548</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2017-03-31T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Jasre, have you tried using</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83238#M34549</link>
      <description>Jasre, have you tried using Global Send Keys (not Global Send Key Event)?.</description>
      <pubDate>Mon, 03 Apr 2017 18:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83238#M34549</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2017-04-03T18:52:00Z</dc:date>
    </item>
    <item>
      <title>@David global send keys doesn</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83239#M34550</link>
      <description>@David global send keys doesn't work for me, it just types in the code instead of sending the key.
@Thanks Denis, but I already read those, the problem is, there isn't Activate Application action in the navigate stage with my Mainframe application. So i guess i will ask the Blue Prism Support. In the worst case i will write an external script, because i couldn't import the user32.dll either without an error to use it in a code stage.</description>
      <pubDate>Mon, 03 Apr 2017 20:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83239#M34550</guid>
      <dc:creator>AkosPasztor</dc:creator>
      <dc:date>2017-04-03T20:34:00Z</dc:date>
    </item>
    <item>
      <title>What send key are you testing</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83240#M34551</link>
      <description>What send key are you testing for Global Send Key? And are you using curly braces or square brackets e.g. ""{ENTER}"" or ""[ENTER]""?</description>
      <pubDate>Tue, 04 Apr 2017 12:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83240#M34551</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2017-04-04T12:52:00Z</dc:date>
    </item>
    <item>
      <title>I suggest you seek out a</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83241#M34552</link>
      <description>I suggest you seek out a mentor (either within your organisation or within Blue Prism) who can help you as this thread looks very confused to me.
1. Always use the Mainframe interface type (the one with the Grid overlayed over the mainframe screen) - not the Windows interface for mainframes UNLESS you have a very good reason not to (such as it being presented over Citrix).
2. For the Mainframe interface (which uses hllapi API), there is a Mainframe Automation Guide, and lots of articles in the knowledgebase.  If your mainframe is not hllapi complient I suggest finding a hllapi complient mainframe instead of going down the Surface Automation route (it will be cheaper in the end - as SA=slow and more BP licenses, hllapi=very quick).
3. For your last comment Akos, you can activate any window in an operating system, irrelivant of the application type.  You would need a Windows object for the mainframe, you would need to identify the entire window (not an element within it) using Win32 mode, and the Activate Application action in a mainframe stage will be available to you.  However, if you are using a Mainframe interface the window does not need to be active.  There is a guide all about Surface Automation of Mainframe Emulators that can be usd.</description>
      <pubDate>Tue, 04 Apr 2017 13:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83241#M34552</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2017-04-04T13:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: I suggest you seek out a</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83242#M34553</link>
      <description>I am using OpenText HostExplorer COM API to launch and connect mainframe. Read and write seems to be working fine but however global send keys seems not working.&lt;BR /&gt;I have to use global send keys events to press {enter}. As&amp;nbsp; set focus mainframe window not an option.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I try global send key, it just types the value in the cursor position.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please suggest me , how to overcome this problem. I have already gone through all the materials and knowledge base on this topic and no answer.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jukkendar sundaram&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2020 13:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83242#M34553</guid>
      <dc:creator>Jukkendarsunda2</dc:creator>
      <dc:date>2020-06-19T13:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global Send Keys Event requries mainframe to be in focus</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83243#M34554</link>
      <description>I'm a blueprism novice and although I'd like to believe that you have already found the answer for this since it's been 4 years since you posted this question, I just would like to share that my workaround for this is to minimize the other program to regain focus to mainframe. I am getting screenshots from IBM mainframe and pasting it to excel and I was able to regain focus to mainframe by minimizing the excel window using Set State to "min" in Excel VBO.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kristopher Jayson Bondoc&lt;BR /&gt;Travel Operations Specialist&lt;BR /&gt;IBM Business Services&lt;BR /&gt;Asia/Manila&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2020 04:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-Send-Keys-Event-requries-mainframe-to-be-in-focus/m-p/83243#M34554</guid>
      <dc:creator>Kristopher_Jays</dc:creator>
      <dc:date>2020-11-03T04:01:00Z</dc:date>
    </item>
  </channel>
</rss>

