Search found 100 matches
- Fri Mar 25, 2022 9:57 am
- Forum: Technical / Scripting
- Topic: [Solved]Which is the correct Left Mouse Virtual key Code?
- Replies: 0
- Views: 27030
[Solved]Which is the correct Left Mouse Virtual key Code?
Reffering to : https://help.mjtnet.com/article/262-virtual-key-codes VK_LBUTTON=Left mouse button and not VK01, BUT in the script below only VK01 works, why? OnEvent>Key_Down,VK01,0,srtClick //OnEvent>Key_Down,VK_LBUTTON,0,srtClick Let>Keystate=0 Label>Loop Wait>0.04 If>keystate<>0 Let>Keystate=0 Me...
- Fri Mar 11, 2022 6:13 am
- Forum: Technical / Scripting
- Topic: Best way to use XLRunCode?
- Replies: 0
- Views: 26467
Best way to use XLRunCode?
Trying to understand how exactly does XLRunCode binds to an Excel process, look at first example: (Have a couple of CSV files located in C:\Downloadsand needs to open them into one workbook) XLCreate>c:\Downloads\Temp.xlsx,1,xlH LabelToVar>vba_code,theCode XLRunCode>xlH,theCode /* vba_code: Dim oFSO...
- Fri Feb 11, 2022 7:03 am
- Forum: Technical / Scripting
- Topic: Chrome --headless downloaded files
- Replies: 3
- Views: 5267
Re: Chrome --headless downloaded files
Any update on this please?
- Wed Feb 02, 2022 3:03 pm
- Forum: Technical / Scripting
- Topic: ChromeGetElementData from table
- Replies: 4
- Views: 4068
Re: ChromeGetElementData from table
I found this very simple way of testing a live website's Xpath:
Code: Select all
https://www.browserstack.com/guide/find-element-by-xpath-in-selenium
- Wed Feb 02, 2022 8:34 am
- Forum: Technical / Scripting
- Topic: WindowAction not always minimizing
- Replies: 1
- Views: 1498
WindowAction not always minimizing
Hi there, Want to automate Chrome & chromedriver is started first, but needs the the chromedriver.exe cmd window to be minimized in the background. ProcessExists>chromedriver.exe,bDriverExists If>bDriverExists=False Run>c:\chromedriver.exe WindowAction>2,C:\chromedriver.exe Endif Have checked there ...
- Tue Feb 01, 2022 4:05 pm
- Forum: Enhancement Suggestions
- Topic: MS GUI Enhancement Suggestions
- Replies: 5
- Views: 16128
Re: MS GUI Enhancement Suggestions
Can we please have dark mode as was requested 4 years ago?
- Wed Sep 05, 2018 6:06 pm
- Forum: Scripts and Tips
- Topic: Find Location of recorded Screenshot & Draw a Flashing Rectangle around it
- Replies: 1
- Views: 5240
Re: Find Location of recorded Screenshot & Draw a Flashing Rectangle around it
I have updated the original code with a new & much better script, the old script used VBscript to calculate the image size, but now i'm using MS directly with less code. The image found will now be surrounded by a flashing rectangle.
- Wed Sep 05, 2018 5:11 pm
- Forum: Technical / Scripting
- Topic: Find bitmap file x/y size
- Replies: 9
- Views: 12463
Re:
Excellent thank you :D For several years I've been using the scripts on this page to get image size information. Today it occurred to me there is an easy way to get size info for jpg, bmp and png files. All you need to do is create a dialog in Macro Scheduler version 12 or greater and load the image...
- Tue Sep 04, 2018 3:38 pm
- Forum: Technical / Scripting
- Topic: [Solved] Limit on positioning Dialogs?
- Replies: 3
- Views: 2737
Re: Limit on positioning Dialogs?
Important thing here is to use 'DefaultMonitor = dmDesktop' to make use of entire desktop space Dialog>Dialog1 object Dialog1: TForm Left = 255 Top = 220 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 162 ClientWidth = 1170 Color = clBtnFace DefaultMonitor = ...
- Tue Sep 04, 2018 8:31 am
- Forum: Technical / Scripting
- Topic: [Solved] Limit on positioning Dialogs?
- Replies: 3
- Views: 2737
Re: Limit on positioning Dialogs?
Anyone else having this problem?
- Tue Sep 04, 2018 5:13 am
- Forum: Technical / Scripting
- Topic: [Solved] Python script only runs from Explorer
- Replies: 2
- Views: 2200
Re: Python script only runs from Explorer
Just realized I have extracted the python files into the MS Documents folder 'C:\Users\John\Documents\Macro Scheduler 14' instead of using MS Installation folder 'C:\Program Files (x86)\Macro Scheduler 14'
One's eye tends to look at the last part & sometimes misses the first part
One's eye tends to look at the last part & sometimes misses the first part
- Mon Sep 03, 2018 4:33 pm
- Forum: Technical / Scripting
- Topic: [Solved] Python script only runs from Explorer
- Replies: 2
- Views: 2200
[Solved] Python script only runs from Explorer
The code below runs 100% when double clicking the script in explorer under path 'C:\Users\John\Documents\Macro Scheduler 14', but when running it within MS it says 'Python is not properly initialized', the python27.dll file is also present in the same path as the script: 'C:\Users\John\Documents\Mac...
- Mon Sep 03, 2018 1:33 pm
- Forum: Beginners
- Topic: I have 2 questions i hope you guys help me with
- Replies: 18
- Views: 11883
Re: I have 2 questions i hope you guys help me with
Not sure if this is what you want, but try this - just replace the picture paths & names please: //How many times to click on same picture Let>ClickTimes=10 Let>Timeout=5 Gosub>FindImage,C:\Users\x\Desktop\pic1 Gosub>FindImage,C:\Users\x\Desktop\pic2 Gosub>FindImage,C:\Users\x\Desktop\pic3 Gosub>Fin...
- Mon Sep 03, 2018 12:18 pm
- Forum: Beginners
- Topic: I have 2 questions i hope you guys help me with
- Replies: 18
- Views: 11883
Re: I have 2 questions i hope you guys help me with
what I want to do is to make the script understands that if you chose a picture from the 6 you have to keep clicking that picture until it's no longer there in that position THEN it can continue to look for another picture Must MS keep clicking on Picture 1 until the picture disappears or just move...
- Mon Sep 03, 2018 11:04 am
- Forum: Beginners
- Topic: I have 2 questions i hope you guys help me with
- Replies: 18
- Views: 11883
Re: I have 2 questions i hope you guys help me with
Can we see your script please?