Jump to content

has somehow find a word written on the screen of a mainframe emulator


Recommended Posts

I have an application that User enter to see if the process is released, only this application is 3270 emulator (IRMA), I wanted to check if you have a specific word on his screen and write to a variable, because then I'll consult the database .

Link to comment
Share on other sites

  • Developers
16 minutes ago, bbsbruno said:

Application is 3270 emulator (IRMA)

Talking about a "blast from the past". :)

Have you checked with au3info.exe to see whether there is any data available in the control or window parts?

  Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Does the emulator provide a COM API?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Water , It does not have API, at least I unaware.

 

Jos ,these are the screen information, has no title only class.

 

I'm sorry for my bad English. I'm still learning .

 

>>>> Window <<<<
Title:    
Class:    MdiFrame
Position:    -4, -4
Size:    1032, 746
Style:    0x17CF0000
ExStyle:    0x00000100
Handle:    0x00180202

>>>> Control <<<<
Class:    MdiEmuChild
Instance:    1
ClassnameNN:    MdiEmuChild1
Name:    
Advanced (Class):    [CLASS:MdiEmuChild; INSTANCE:1]
ID:    36864
Text:     SERPRO.EMU [A]
Position:    -4, 0
Size:    1032, 673
ControlClick Coords:    418, 301
Style:    0x57C70000
ExStyle:    0x00000140
Handle:    0x000B0156

>>>> Mouse <<<<
Position:    414, 347
Cursor ID:    0
Color:    0x00FFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
 SERPRO.EMU [A]
 SERPRO.EMU [A]
 SERPRO.EMU [A]
Standard
Graphics


>>>> Hidden Text <<<<
Graphics
 

 

Link to comment
Share on other sites

  • Developers

Assume you are using tn3270 and not a good old IRMA card with a BNC coaxial connection.
Didn't  IRMA contain its own internal scripting option to automate things?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Understand, but am not sure you can easily use AutoIt3 scripting unless it can interface to the internal information.
It will need some sort of API or COM interface as water stated for it to work.

Jos  

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

That means you first did a Copy in the Irma session as the data in present in the Clipboard?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

That could work, but hope your system response time is pretty consistent or else it could be difficult to know whether the screen is done building.

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I will try to do so, I thought I'd paste in notepad, but I think it would be slower. I'll try to see if there is the word, write to a variable and write to the database, the information being within the database put a procedure or trigger to the rest of the operation. Let's see if it will work :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...