Jump to content
Macro Express Forums

Cory

Members
  • Posts

    4,207
  • Joined

  • Last visited

  • Days Won

    61

Posts posted by Cory

  1. Generally no. MEP only does plain text if it's being handled or generated in the macro. If you copy text from one program to another that support hyperlinks you can with the Clipboard commands, but of course that's limited. In very rare cases one can create raw HTML with the anchor element and when the program sees the plain text looks like HTML, will insert it as such. It's rare, but easy to try. 

  2. You must not have searched very long because this topic was recently covered here in the forum regarding the Task Manager. There are problems with running macros in UWP apps but the bigger one is that MEP will not run in sensitive apps where they could be used to compromise systems like a virus. Most times the solution is to configure MEP to run with elevated privileges, AKA "Run as Administrator".

  3. We have discussed this in other threads. You can search if you like. I was adamant it doesn't work in UWP. If that's what you have. It looks like it. However some others pointed out that it can work in a limited way. Somehting about sending text still works. But I seem to remember not being able to get it to work myself. I gave up trying on UWP apps. But maybe you can take the advice from those other threads and get it to work like others claimed to be able to do.

  4. (I thought I sent this before, but now I found it hadn't.)

    I don't either.

    You might look at running MEP with elevated privileges (Admin). Many posts here about it and I think ISS has a support page about it. 

    Also I have many problems with MEP not working in UWP apps and that looks like it might be one. Many discussions about that here also.

    I don't have that application so I can't test for myself. Just random thoughts for you.

    If I can think of anything else, I will return and post more. 

     

    P.S. it sounds like the same problem I have with UWP apps. They seem invisible to MEP.

  5. rberg is right about the window analogy. If you can get MEP running on the machine that's actually running that program, you will have much better success. 

     

    MEP does not have OCR.

     

    I have used OCR programs with MEP before and had good luck to solve the older simpler CAPTCHA prompts. It was a free command line program called Tesseract and being command line driven made it much easier. But I can imagine there are many you could employ, even some free online ones, but I'd be careful what I used it for as there is a possibility that they copy your results looking for valuable data. 

     

    You might print to a text file. 

     

    You could export the data. 

     

    I have Snagit. You can automate the PrintScreen button to capture the image then extract the text. This is what I got form your graphic. 

    Date: |11/2/2022 Prc|c: (J0604
    Thru: |11/2/2022 Alt Proc:
    Mods: I Par: |Par
    r
    IN ACALCE T 0 RAL 1 MG	Qív: [3ÕÕ
    DRUG/DETAIL C( Dx Ptr
    Auth No: I
    Accom Rate: f Billed: [" Lvl:
    $.00
    $127.80
    Method: X
    COB Be tails
    OC Allowed: V	$.00	OC Co-Ins: T	OC Paid Rsn:	
    OC Paid Amt: I	$ 00	OC Deduct: |	COB Pat Liab:	$.00
    COB Bank Paid: F	COB Bank Rsn: I	OC Pd Surplus:	
    Cov Charoe:[
    P/icefA qindication Beta
    Allowed Amt:P	i $2.70 J	Allowed Rsn: [ALW	Claim Status: |P - Payable
    Total Not Cov:I	1 $.oo/	Not Cov Rsn: I	Proc Status: |U - Unposted (open)
    T otal Copay: I	$.00	Copay Rsn: I	Company Code: |GMR
    T otal Co-ins: I	$.00	Co-ins Rsn: I	G/L Ref: ¡OPS
    Total Deduct: I	$.00	Deduct Rsn: I	Medical Def: ¡2BB2
    Tot Prov Disc:!	$.00	Prov Disc Rsn: (	Adj Method: |AA
    Withhold Amt: I	$.00	Withhold Rsn: |	Post Date: |
    Net Amt:P	$2.70	Paid Net Amt:	Adjust Rsn: ¡CL025
    Type of Svc: Claim Ind 1: f Claim Ind 2: f
    
    

     

    • Like 1
  6. I get ya. I seem to remember some functionality being added to work with icons in the notification area. That's what used to be called the "System Tray".  Maybe you could see the list of running macros there. If not you could write a macro. You could send a mouse click event to the system NA. Also you can force the MEP icon to be a visible one. Maybe somehting in there you could use. 

    You could make a feature request. It might be nice to be able to detect running macros. 

  7. FWIW I used to run macros a long time and it was trouble. I found it to be problematic, especially when something was looping a long time with delays. First I woudl try to find some activation I could use, but if not, I'd use the Windows Scheduler to run the macros. Or, schedule them in MEP, but Windows Scheduler I found more capable. Just an idea.

    I can't think of a way to get a list of running macros. Maybe use the logging option Log All Commands and optionally the email with finished. In cases like this I usually created  a file to log starts and stops. One could make a tabular text file too. Then link to it in Excel and set the text file link query query in Excel to update every 5 minutes or whatever. Then you could have kind of a dashboard. 

    I would never terminate a macro. Whatever loop you have I'd have, make it check in a file, registry, or somehting and when you drop a cancel token, have the macro abort itself.

  8. Not having a Mac I'm probably not going to be much help here, but I will say a few things. 

    I assume this is a VM. I know in other VM and remote Desktop kind of stuff when the machine thinks it's not connected events stop. So for instance if it's minimized all the control activations will not work. Perhaps that's your issue. 

    Another thing is that with RD one should connect to the console session, and not the remote session. You can search online to find out how to do that. 

    Finally I avoid using the mouse in my macros at all cost. Sometimes it's essential, but the majority of the times I've helped user who think that can not do things with a keyboard, I find a way they can. Mouse seems to be the easy solution, but they just breed problems later. 

  9. Confirmed. I have a test macro crtl+keypad9 I use all the time. I had it pop up a message box and verified it works with other windows focused. I observe the last run time update. It does not activate when Disk Management is focused and the last run time does not change.

    I searched the forum and found the answer in an old post about a similar behavior in task manager, disk management and such with the mouse locator. This is for security reasons and by design. I terminated MEP and ran it again with elevated permissions, administrator, and it works. 

    Somewhere in the forum is a post with instructions on how to always have MEP start with admin privileges. I think it's as simple as changing the shortcut, but I don't remember for sure. Search and you will find. 

  10. rberg is right. You should name your variables somehting meaningful. Make an array named "Cells", "Values", or something. And whatever is in 99 should also have a meaningful name. The default T values are a holdover from the old ME when we didn't have the ability to name. The first thing I do when I start a macro is to go in and delete all 4 of the baked-in values. 

    I can't tell for sure, but you might have intended the second TextType to be in an "else" of the condition above. 

  11. None directly that I am aware of.

    You might be able to wait for a mouse click, record the time, then wait again for another click. If the period is less than 500 ms or so, you know a double click has occurred. 

    You could also halt the macro and enable another macro with activation of a System Event for double-click and restart the macro jumping to that point in the macro. Or breaking the macro in two, one before and one after. 

    You could also use control events. Often when one double clicks on something a control will come into existence or change. For instance "Wait for control" or "Wait for control to be focused." 

    What is the application? It's hard to help much without knowing what program you're using and what you're trying to do. 

×
×
  • Create New...