Jump to content

Recommended Posts

Posted

When I create automation to emulate mouse and keyboard actions, I have to wait until the script is done. 

So I can't multitask as the script is running.

Is there a way to run the task "hidden", so I can keep working? Tasks include mouse and keyboard actions on the web browser GUI.

  • Moderators
Posted

It depends on the task, if you are using the IE functions of the Chrome UDF you should be able to carry out other tasks. It is difficult to make more specific suggestions on so little information, though, so the best you are going to get is - maybe

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted (edited)
On 2018-12-25 at 11:46 AM, JLogan3o13 said:

It depends on the task, if you are using the IE functions of the Chrome UDF you should be able to carry out other tasks. It is difficult to make more specific suggestions on so little information, though, so the best you are going to get is - maybe

Hard to explain, so let me try..!

 In windows 10, I split the screen in 2 with "show windows side by side"

On the left screen, I have a script running what is does it this:

- Open notepad
- Go type "ABC"
- Get mouse to go to the "ABC" x and y coordinates
- Select text with mouse move and press shift
- CTRL c the text
- Close window without saving

On the right screen, I keep using the computer as usual, say browsing the net using the mouse and keyboard.

I would like to be able to run that script on the left and simultaneously keep using the computer on right side of screen.

This behaviour would be the same as running team viewer macro on another computer,  can keep using both PC's as the task is being run on PC #2

Edited by xuzo
Posted (edited)

You can just use fileread and logically get the text you need.  Or filewrite and then filedelete. Or just set data in a variable. You will not maintain control with the ones you want to use.

 

Another option, controlgettext and processkill

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Posted

Try to knowledge yourself on the #postmessage and #getmessage

 

By the way...

If you want to accomplish 2 task on the same compûter you can do that with a way i just though.

Maybe you can do what you want and run a virtual computer to do the other task.

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Posted
15 hours ago, caramen said:

Try to knowledge yourself on the #postmessage and #getmessage

 

By the way...

If you want to accomplish 2 task on the same compûter you can do that with a way i just though.

Maybe you can do what you want and run a virtual computer to do the other task.

Yes, I was thinking about that, now my motherboard is getting fixed on my i5-8400 with 16 gigs of ram, so stuck on my i3-7100u laptop...so will wait till I have my PC and try to run virtual machine on it

 

Posted (edited)

Seems like an extreme workaround for such a seemingly simple script that doesn't necessitate a vm or second computer.   with the right functions, you can automate inactive windows without impeding your mouse or keystrokes

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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
  • Recently Browsing   0 members

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