Have you tried reinstalling MS?
Some scripts of mine stopped working & after reinstalling the problem was fixed.
Search found 100 matches
- Tue May 31, 2022 1:06 pm
- Forum: Technical / Scripting
- Topic: Msced cannot see program running in compatability mode
- Replies: 7
- Views: 4851
- Tue May 10, 2022 1:32 am
- Forum: Technical / Scripting
- Topic: Draw a rectangle with transparency
- Replies: 4
- Views: 4719
Re: Draw a rectangle with transparency
Just to add to JimmyBoy's code, I needed to draw a square as well, but without using dialogs as MS needs to run javascript when mouse is hovering over chrome & by drawing this way, one does not have to constantly activate the chrome underneath the dialogs: RGB>255,0,0,colRed Let>Line_width=3 Let>Hig...
- Tue Apr 12, 2022 5:52 pm
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Re: Getting Rid of chrome is being controlled by...
This is what I have come up so far. How do you start Chrome with the --app switch as well as bind the chromedriver to it to access it in the sub? RunProgram>"C:\Program Files\Google\Chrome\Application\chrome.exe" --app=https://www.mjtnet.com/contact.htm SRT>JS Let>HTTP_POSTJSON=1 Let>body= { "script...
- Tue Apr 12, 2022 12:24 pm
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Re: Getting Rid of chrome is being controlled by...
You mean Chrome's Developer Tools Console?
That means you have to communicate using ObjectSendText & OCRArea between Chrome & MS
How do you distinguish between old and new data in the console using OCR?
Isnt'n there a more direct connection to send & recieve Chrome data?
That means you have to communicate using ObjectSendText & OCRArea between Chrome & MS
How do you distinguish between old and new data in the console using OCR?
Isnt'n there a more direct connection to send & recieve Chrome data?
- Tue Apr 12, 2022 9:55 am
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Re: Getting Rid of chrome is being controlled by...
Still trying to figure out how do you access the chromedriver console via MS, have searched the forums here, but there is just bits & pieces, do you need to install Selenium drivers?
Please give me an example how to start & send js commands to the console?
Please give me an example how to start & send js commands to the console?
- Mon Apr 11, 2022 12:14 pm
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Re: Getting Rid of chrome is being controlled by...
Sorry I missed that part in the thread you quoted earlier, so basically you start chrome in a special way, but then you cannot attach chromedriver to it as well as using MS commands like ChromeExecute, not following how do you inject javascript using what console ?
- Sun Apr 10, 2022 1:47 pm
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Re: Getting Rid of chrome is being controlled by...
I have tried them all, but nothing worked, which one worked for you?
- Sat Apr 09, 2022 6:02 pm
- Forum: Scripts and Tips
- Topic: Getting Rid of chrome is being controlled by...
- Replies: 10
- Views: 14048
Getting Rid of chrome is being controlled by...
Was looking for a way to get rid of "chrome is being controlled by automated test software" running chrome via chromedriver, this is a workaround by first clicking on the x, then normalizing & maximizing Chrome it disappears, depending on Chrome updates this might eventually also not work, tested on...
- Thu Mar 31, 2022 10:59 am
- Forum: Technical / Scripting
- Topic: Possible for ChromeExecute to pass var back to MS?
- Replies: 9
- Views: 3477
Re: Possible for ChromeExecute to pass var back to MS?
Thank you Grovkillen for the Onevent>CUSTOM hint, below I have a working example :D It will navigate to www.google.com and then will create a button on the bottom, you may have to scroll down to see it, after that if you click inside where you would type in your google query it will update the butto...
- Tue Mar 29, 2022 6:16 pm
- Forum: Technical / Scripting
- Topic: Possible for ChromeExecute to pass var back to MS?
- Replies: 9
- Views: 3477
Re: Possible for ChromeExecute to pass var back to MS?
So you mean running concurrent scripts like in this thread?
https://www.mjtnet.com/forum/viewtopic ... nt#p25384
- Tue Mar 29, 2022 2:25 pm
- Forum: Technical / Scripting
- Topic: Possible for ChromeExecute to pass var back to MS?
- Replies: 9
- Views: 3477
Re: Possible for ChromeExecute to pass var back to MS?
I'm only a beginner in javascript, but have since using MS had to learn a lot how html & javascript works, trying to build a recorder that records web actions with MS so first thing I want to do is to get the element under mouse hover with this java code: elm = document.querySelectorAll(":hover"); b...
- Tue Mar 29, 2022 7:47 am
- Forum: Technical / Scripting
- Topic: Possible for ChromeExecute to pass var back to MS?
- Replies: 9
- Views: 3477
Re: Possible for ChromeExecute to pass var back to MS?
Yes I did something similar, you just have to first read in the custom created div afterwards, which is not ideal, but should work or maybe put it in the clipboard, but that also has it downsides.
For now that should work,
Thank you Grovkillen
For now that should work,
Thank you Grovkillen
- Tue Mar 29, 2022 5:30 am
- Forum: Technical / Scripting
- Topic: Possible for ChromeExecute to pass var back to MS?
- Replies: 9
- Views: 3477
Possible for ChromeExecute to pass var back to MS?
Need to collect info using javascript, but cannot find a way to pass this info back to MS please?
- Fri Mar 25, 2022 5:05 pm
- Forum: Technical / Scripting
- Topic: Sending Strings with HoldKey
- Replies: 4
- Views: 2296
Re: Sending Strings with HoldKey
Hi fightcancer, Please try using the "Send Keys to Objects Wizard" under Keyboard Commands: //Send keystrokes directly to Notepad's edit control (Notepad does not require focus) GetWindowHandle>Untitled - Notepad,hWndParent FindObject>hWndParent,Edit,,1,hWnd,X1,Y1,X2,Y2,result ObjectSendKeys>hWnd,{"...
- Fri Mar 25, 2022 10:02 am
- Forum: Technical / Scripting
- Topic: Sending Strings with HoldKey
- Replies: 4
- Views: 2296
Re: Sending Strings with HoldKey
How about these two options? 1. UISetValue>{"Untitled - Notepad"},{"Text Editor"},{%Str%} OR 2. HoldKey>Str,500,0 As seen in the script below- both works with Notepad LabeltoVar>String,Str SetFocus>Notepad* WaitWindowFocused>Notepad* //UISetValue>{"Untitled - Notepad"},{"Text Editor"},{%Str%} HoldKe...