Jump to content

Copy List From Another Window


Mohana
 Share

Recommended Posts

Hi all,

I am a doctor in a hospital having an application that display the patient's list and their procedures (shown below)

image.png.9d876560f01aa38c185cb2df2b933d45.png

 

Unfortunately, it does not have an 'export' feature.

I need to get the list for research purposes.

I wonder if AutoIt can help!?

 

Thanks

Link to comment
Share on other sites

Hi  @Mohana, and welcome to the AutoIt forums :welcome:
Start from downloading the Full AutoIt installer and the Full SciTE editor; then, open AutoIt Window Info tool and spy the window you want to automate.
Once you've done these steps, post the result here, so we can see how we can assist you :)

Edited by FrancescoDiMuro

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

Link to comment
Share on other sites

Hello,

The window you've posted a screenshot of looks like a "PURE TEXT APP", like a "Windows CMD Box"?

Has your program a GUI (Graphical User Interface) or is it some prehistoric text based program from the last millenium? 

 

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

6 minutes ago, rudi said:

Hello,

The window you've posted a screenshot of looks like a "PURE TEXT APP", like a "Windows CMD Box"?

Has your program a GUI (Graphical User Interface) or is it some prehistoric text based program from the last millenium? 

 

thanks for the reply. it does has GUI

 

image.thumb.png.fd9546095cfa348fcb9e05109ca6e3d4.png(attached)

Link to comment
Share on other sites

Okay, that's PACS. That one came across my way a few times and quite a number of years ago.

IIRC it's storing every scan in a separate file, and it's using a database to store all the meta information.

So you will need to access that database, if you want to get all the info you're asking for.

 

CU, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

1 minute ago, rudi said:

Okay, that's PACS. That one came across my way a few times and quite a number of years ago.

IIRC it's storing every scan in a separate file, and it's using a database to store all the meta information.

So you will need to access that database, if you want to get all the info you're asking for.

 

CU, Rudi.

Is there any way to get them from the list displayed?

Link to comment
Share on other sites

1 minute ago, rudi said:

Okay, that's PACS. That one came across my way a few times and quite a number of years ago.

IIRC it's storing every scan in a separate file, and it's using a database to store all the meta information.

So you will need to access that database, if you want to get all the info you're asking for.

 

CU, Rudi.

Is there any way to get them from the list displayed?

Link to comment
Share on other sites

If the Autoit Window Info Tool can't "see" the content, then, sorry, I don't know howto accomplish this using autoit.

 

<edit>
PACS is always using a PACS server, so you should be able to connect an additional PACS client to access the data directly from the WS you are working at.

 

PACS is using DICOM, that's a communications standard. This should give you a start:

 

https://en.wikipedia.org/wiki/DICOM

</edit>

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

The only other solution would be to use some form of OCR.  Seem to me that it should be quite easy to implement as the font is very basic and it is all white on black.

 

Link to comment
Share on other sites

6 hours ago, Mohana said:

Seems very complicated 😩

It's not nearly as complicated as it sounds/looks at first, I wouldn't put off so fast. If you look at LarsJ's example code it's really not that hard to understand, especially when you start to see the pattern. I would give it a try

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Link to comment
Share on other sites

  • 3 weeks later...
On 11/22/2019 at 5:22 PM, Nine said:

The only other solution would be to use some form of OCR.  Seem to me that it should be quite easy to implement as the font is very basic and it is all white on black.

 

tried screen OCR; not perfect

Link to comment
Share on other sites

3 hours ago, Mohana said:

It shows SunAwtFrame .... Java App ....

Yup, unless you want to try and find a Java automation solution, I would look at UI Automation (with UIASpy to find the controls). I find that this topic is easier to understand than junkew's, but junkew's is admittedly a lot less code

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

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...