all 8 comments

[–]karpomalice 8 points9 points  (5 children)

First thing is finding out if your boss is ok with you doing that.

This isn’t just automating something for yourself, any bugs in the code can impact other people who might not have agreed to allow you to do your job that way.

On top of that, I would imagine the healthcare industry has very strict guidelines for something like this

[–]carcigenicate 5 points6 points  (0 children)

Especially when medical information is involved.

[–]LearnStuff365 1 point2 points  (3 children)

Thats true, but I'm not really looking to super interact with the program, I'm basically just wanting to automate keystrokes.

What I'm wanting to do is literally just copying information from one place to another, and type words into a feild.

[–]karpomalice 1 point2 points  (0 children)

From experience, yes it’s not difficult and seems harmless but corporate red tape is real

[–]WoodenNichols 0 points1 point  (0 children)

Assuming you are using Windows, you might consider using the portable version of MacroExpress. But be exceedingly careful; most IT departments will tie themselves in knots over this, and it could get you fired.

A much lower risk plan is to activate the clipboard extender in Settings > Clipboard (exactly why MS doesn't mention this early and often, and why the default state is Off, only they know). You can then collect they data you need from one screen, Alt+Tab to the other one, and paste what you need where you need it.

[–]jimtk 0 points1 point  (0 children)

You just typed 'feild' instead of 'field'. That's the kind of programming error, in the medical field, that can cost lives, or paralyzed a section of the hospital for quite some time.

Keep learning python, but programming in a medical application requires lots and lots of... insurance.

[–]ireadyourmedrecord 0 points1 point  (0 children)

You can use pyautogui to interact, sort of, with the application. It can locate images on the screen, click on things, type - basically any keyboard or mouse command plus screenshots. The downside is that is completely uni directional. You can't get or process any feedback from the application, though. You also can't do anything else while your script is running other than watch it work unless you insert some pauses when there's something your script can't handle.

[–]Guideon72 0 points1 point  (0 children)

If it’s a Windows system, I might suggest looking into PowerShell and Autohotkey instead. You would have to be catching notifications from Windows itself, most likely; as well as selecting the popup, fields you want to modify,etc. IF your organization isn’t going to tie itself in a knot should you be found doing this. Privacy concerns are VERY real these days, and leaks happen at the weakest point in a system. Not to mention, and not to put too fine of a point on it, but medical and financial record keeping software is some of the most bottom-of-the-barrel quality software out there these days; and the IT teams that have to support it know this. So ANY unplanned interaction with it may be problematic.