Search found 100 matches

by ocnuybear
Wed Oct 19, 2022 8:25 am
Forum: Technical / Scripting
Topic: Powershell script execution
Replies: 2
Views: 3932

Re: Powershell script execution

Have a look here:
viewtopic.php?f=9&t=10972&p=46751&hilit ... ell#p46751

Using clipboard to send info between powershell and MS.
by ocnuybear
Fri Oct 14, 2022 9:03 am
Forum: Scripts and Tips
Topic: ChromeDriver Automatically Download & Update
Replies: 3
Views: 12205

Re: ChromeDriver Automatically Download & Update

Happy to help out :D
by ocnuybear
Tue Oct 11, 2022 1:27 pm
Forum: General Discussion
Topic: modern email authentication
Replies: 8
Views: 14599

Re: modern email authentication

Not sure what exactly is needed, but maybe you can run vbs scripts from MS using these: https://www.example-code.com/vbscript/gmail_smtp_oauth2_access_token.asp https://www.example-code.com/vbscript/gmail_smtp_refresh_oauth2_token.asp https://www.example-code.com/vbscript/yahoo_mail_oauth2_access_to...
by ocnuybear
Sun Oct 09, 2022 7:17 am
Forum: Scripts and Tips
Topic: ChromeDriver Automatically Download & Update
Replies: 3
Views: 12205

ChromeDriver Automatically Download & Update

Automatically Download & Update to the latest version of Chromedriver. Just change the chromedriver path to suit your needs :D Let>chrome_driver_path=D:\Downloads GetProcessIDs>chromedriver.exe,ChromeDriver_proc_ID KillProcess>ChromeDriver_proc_ID_1 Let>CHROME_DRIVER_URL=https://chromedriver.storage...
by ocnuybear
Fri Sep 30, 2022 5:52 pm
Forum: Scripts and Tips
Topic: Accessing Chrome Internal Ui Elements for Clicking or Mouse Over events.
Replies: 0
Views: 38861

Accessing Chrome Internal Ui Elements for Clicking or Mouse Over events.

Chrome is a very common browser that can be automated, but using it and MS now since 2018, it seemed only outside elements was exposed when you are not using chromedriver like back, forward, reload ,etc. But I just discovered a very handy way to set Chrome so that most internal elements can be found...
by ocnuybear
Wed Sep 21, 2022 7:01 pm
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 6931

Re: Image Recording with Mouse Click

I have a working script thanks to everybody that replied here, start chrome, then start the script, it will create a C:\Capture directory and will capture everything you click on, idea is to make another script using MS FindImagePos to find the position and click the images you have captured, should...
by ocnuybear
Wed Sep 21, 2022 5:10 pm
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 6931

Re: Image Recording with Mouse Click

Sorry I don't have time to write this for you but I think you're on the right track. What I would do is: - Invoke the semi-transparent dialog and click on the dialog. - Capture the click location and directly after move the mouse to a safe location. - Directly after that close the semi-transparent ...
by ocnuybear
Tue Sep 20, 2022 12:03 pm
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 6931

Re: Image Recording with Mouse Click

For now I have scavenged the rubber band selection script by JRL that instead of making the dialog invisible makes it semi see through https://www.mjtnet.com/forum/viewtopic.php?t=4156 OnEvent>KEY_DOWN,VK27,0,Stop OnEvent>KEY_DOWN,VK90,0,Stop Let>SM_CXVIRTUALSCREEN=78 Let>SM_CYVIRTUALSCREEN=79 Let>S...
by ocnuybear
Tue Sep 20, 2022 10:37 am
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 6931

Re: Image Recording with Mouse Click

Hi Dorian, Yes the script you provided is on the right track, the only reason for me to use an invisible dialog is to prevent any mouse over/hover/click action to change the area of importance's picture, for example www,google.com on the right hand side the Gmail link will display Gmail, but hover t...
by ocnuybear
Tue Sep 20, 2022 8:18 am
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 6931

Image Recording with Mouse Click

Hallo everyone, I want to record my clicks on any desktop app, winform or chrome, etc, using MS ScreenCapture, which is easy, but when moving the mouse over an element or button in webpage or winform, it triggers mouse over events thus changing the picture before I can capture it for playback later ...
by ocnuybear
Fri Sep 16, 2022 10:45 am
Forum: Technical / Scripting
Topic: [Solved]Cannot access frame attributes
Replies: 5
Views: 5914

Re: Cannot access frame attributes

Thank you guys :D :D :D

I understand navigating through the frames much better now and as many websites nowadays have nested frames, people can use this code to find that stubborn "Hard to access Elements" within nested frames easier !
by ocnuybear
Fri Sep 16, 2022 3:56 am
Forum: Technical / Scripting
Topic: [Solved]Cannot access frame attributes
Replies: 5
Views: 5914

Re: Cannot access frame attributes

The javascript used in the console was only to verify what is going on. I'm not using it in MS, but sure the javascript maybe returning objects instead of strings. What I do not understand when switching with ChromeSwitchFrame>session_id,element,frmlev1_1,res the first loop loop twice and the second...
by ocnuybear
Thu Sep 15, 2022 7:28 am
Forum: Technical / Scripting
Topic: [Solved]Cannot access frame attributes
Replies: 5
Views: 5914

[Solved]Cannot access frame attributes

Hi everybody I have this code below that finds 5 frames on this website, but does not switch to it succesfully, maybe because it is a frame not an Iframe: http://the-internet.herokuapp.com/nested_frames Let>CHROMEDRIVER_EXE=D:\Downloads\chromedriver.exe ChromeStart>session_id ChromeNavigate>session_...
by ocnuybear
Fri Jul 01, 2022 11:03 am
Forum: Technical / Scripting
Topic: Detect if run as Administrator?
Replies: 4
Views: 6294

Re: Detect if run as Administrator?

Alternative Version:

Code: Select all

Let>nWLNRes=
WriteLn>C:\text.txt,nWLNRes,
IFNOT>nWLNRes=0
  MessageModal>!!!Please Run as Admin!!!
  Exit
ENDIF
Sign up to our newsletter for free automation tips, tricks & discounts