Search found 239 matches

by fightcancer
Sat Apr 24, 2021 1:43 am
Forum: Technical / Scripting
Topic: Code Folding Bug?
Replies: 4
Views: 4204

Re: Code Folding Bug?

After years of consternation, I finally managed to reproduce the Folding Bug. Create a new macro. Paste these 6 lines of code below into it. Fold All. Close and save. Upon re-opening, the top line will be distorted but can be fixed with another Fold All. /* */ If>a=b /* */ EndIf Using /* and */ with...
by fightcancer
Thu Apr 22, 2021 7:02 pm
Forum: Technical / Scripting
Topic: Trouble Finding Correct Element
Replies: 6
Views: 3262

Re: Trouble Finding Correct Element

Weird. I saw a message earlier today about website maintenance. Maybe that's why.

Ty for looking though!
by fightcancer
Thu Apr 22, 2021 6:02 pm
Forum: Technical / Scripting
Topic: Trouble Finding Correct Element
Replies: 6
Views: 3262

Re: Trouble Finding Correct Element

I think I figured it out.
ChromeFindElements>session_id,tagName,tbody,res
ChromeGetElementData>session_id,res_1,text,theText

Then I have to filter the data from "theText."

To access the site, one must navigate to the URL and click "I accept the terms" or somesuch.
by fightcancer
Thu Apr 22, 2021 5:40 pm
Forum: Technical / Scripting
Topic: Trouble Finding Correct Element
Replies: 6
Views: 3262

Trouble Finding Correct Element

I'm hoping someone can help me with my ChromeFindElements> line below. I can't get MS to find/create a valid array. My goal is to get the text to the right of Legal Description and Mailing Address. Any help appreciated! Let>CHROMEDRIVER_EXE=%SCRIPT_DIR%\chromedriver.exe ChromeStart>session_id Chrome...
by fightcancer
Thu Apr 22, 2021 4:57 pm
Forum: Technical / Scripting
Topic: Chrome window opens and disappears
Replies: 2
Views: 1822

Re: Chrome window opens and disappears

Thanks so much, Dorian, for the timely, accurate solution!!

I was using version 89.x of Chrome and v. 90.x of ChromeDriver. Fixed and working now!

Thanks again!!
by fightcancer
Thu Apr 22, 2021 4:11 pm
Forum: Technical / Scripting
Topic: Chrome window opens and disappears
Replies: 2
Views: 1822

Chrome window opens and disappears

Code: Let>CHROMEDRIVER_EXE=%SCRIPT_DIR%\chromedriver.exe Let>CHROMEDRIVER_OPTIONS=--start-maximized ChromeStart>session_id A Chrome window opens and immediately disappears. What's the solution to getting the window to stay visible please? Thanks! This script successfully opens MS Edge and it does no...
by fightcancer
Tue Apr 13, 2021 10:02 pm
Forum: Technical / Scripting
Topic: Interface w/Chess Engine
Replies: 1
Views: 1728

Interface w/Chess Engine

How can I use MS to interface with a free UCI chess engine? I saw an example online using C#, but I don't have any idea where to start in MS. Any tips appreciated.

Example: https://stackoverflow.com/questions/282 ... from-a-gui
by fightcancer
Wed Apr 07, 2021 6:51 pm
Forum: Technical / Scripting
Topic: Draw / display a box
Replies: 5
Views: 5558

Re: Draw / display a box

Thank you!

What are the chances I could get MS to draw a shape in a browser like Chrome? I've tried GetWindowHandle> and Let>WIN_USEHANDLE=1, but nothing works when passing the handle to the SRT with GoSub.
by fightcancer
Thu Apr 01, 2021 7:57 pm
Forum: Technical / Scripting
Topic: Draw / display a box
Replies: 5
Views: 5558

Re: Draw / display a box

I could never get MS to draw a rectangle. Is there any sample script I could look at to see what values might follow the GoSub> command? TIA!
by fightcancer
Sun Sep 06, 2020 3:10 am
Forum: Technical / Scripting
Topic: Error: "Cannot Run Dialog. Not Found"
Replies: 3
Views: 5008

Re: Error: "Cannot Run Dialog. Not Found"

JoeBly wrote:
Wed Oct 23, 2019 9:28 pm
I had to kill the process from Task Manager, as it got stuck after the dialog error.
Same bug and fix for me.
by fightcancer
Mon Aug 31, 2020 5:57 pm
Forum: Technical / Scripting
Topic: Out of system resources
Replies: 20
Views: 23174

Re: Out of system resources

PC SPECS: AMD Phenom II X4 955 Black Editon; Gigabyte 870A-UD3; DDR3 2x2GB OCZ; Gigabyte GTX 460 1Gb, Win 7 It is MacroScheduler error. As said, other scripts work fine, this one did too at start, but then only errors, even when I remake it. The script is really the most basic there is: ScreenCaptu...
by fightcancer
Mon Aug 31, 2020 5:22 pm
Forum: General Discussion
Topic: Mousemove to pixel color
Replies: 5
Views: 20868

Re:

Sorry for resurrecting an old thread. FindImagePos might be the simplest way. The "needle file" can be a small patch of the color you are looking for - it can be as small as a single pixel. Is that still true? I have not had luck using FindImagePos for a 1x1 BMP. The quickest way is to use the FindC...
by fightcancer
Wed Aug 12, 2020 7:28 pm
Forum: Enhancement Suggestions
Topic: Remap Directory Bug
Replies: 1
Views: 12118

Remap Directory Bug

MS Pro 14.5.4

1. I click on a MS group and get a "Group Folder Error" (see screenshot).
2. I click "Remap Directory" and enter the new, correct path in the Macro Path field.
3. I click OK.

Then I'm back at step 1. It's as if the software isn't saving the new path.

Group Folder Error.png
by fightcancer
Wed Jun 17, 2020 3:18 pm
Forum: Technical / Scripting
Topic: Why Run> doesn't work like Start, Run?
Replies: 4
Views: 5236

Re: Why Run> doesn't work like Start, Run?

That was impressive. Thanks for the help! I didn't realize I needed to run it through CMD. I don't understand why the "/c" parameter is necessary. Just curious. Also, thanks for showing me how I could use the longer string to avoid all the Concat statements, i.e. Let>strFFmpeg=CMD /C %ffmpegPath% -s...
Sign up to our newsletter for free automation tips, tricks & discounts