Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Run OpenRPA workflow with screen locked

    General Discussion
    openrpa
    2
    8
    161
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bill Xiao last edited by

      Hi Allan,
      When my screen is locked, some of my OpenRPA workflows can't run. For example, "Take Screenshot" activity can't work with "handle is invalid" exception. And there are some other weird issues for some activities. Do you have any experience and suggestions on how to cope with locked screen as I can't leave my screen unlocked when RPA workflow are running all the time?
      Thanks.

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @Bill Xiao last edited by

        Yes, that is correct.

        B 1 Reply Last reply Reply Quote 0
        • B
          Bill Xiao @Allan Zimmermann last edited by

          Do you have any plan to improve OpenRPA for screen locked use case?

          Allan Zimmermann 1 Reply Last reply Reply Quote 0
          • Allan Zimmermann
            Allan Zimmermann @Bill Xiao last edited by Allan Zimmermann

            You can't. Most RPA feature require access to keyboard, muse and/or the screen. And therefor need to run in an active desktop.
            Locked screens, RDP session that is minimized/disconnect etc. all limits or make that impossible, hence most RPA vendors, including OpenIAP, has some kind of HD Robot service that can keep those sessions a live, if you need to do unattended robotics.
            So it is already "fixed".

            B 2 Replies Last reply Reply Quote 0
            • B
              Bill Xiao @Allan Zimmermann last edited by

              @allan-zimmermann
              Hi Allan, Is there any document about how to use RDService?

              1 Reply Last reply Reply Quote 0
              • B
                Bill Xiao @Allan Zimmermann last edited by

                @allan-zimmermann I found Windows API PrintWindow can take screenshot even when screen is locked and I've made a new activity called PrintWindow by leveraging the API. I'm not sure if you're interested in incorporating it into OpenRPA. If you do, I can make a pull request.

                Allan Zimmermann 1 Reply Last reply Reply Quote 0
                • Allan Zimmermann
                  Allan Zimmermann @Bill Xiao last edited by

                  That sounds very interesting, yes i would love to see that code.
                  ( or even better, you could forge the openrpa repository and make a pull request to update the take screenshot activity and get your name on the contributor list ? )

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Bill Xiao @Allan Zimmermann last edited by

                    @allan-zimmermann Allan, I've created a pull request. https://github.com/open-rpa/openrpa/pull/486
                    After carefully thinking of it, I don't touch your existing TakeScreenshot activity. Instead, I made a new one, PrintWindow, as the required arguments are quite different. Put them together may not be compatible naturally.
                    Please have a look.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post