Search found 23 matches

by mhcha
Sun Feb 12, 2023 1:45 am
Forum: Technical / Scripting
Topic: SendMessageA or PostMessageA Mouse Click
Replies: 3
Views: 2219

Re: SendMessageA or PostMessageA Mouse Click

Since the macro scheduler can calculate bitwise logical operators, I tried using it as below, but it doesn't work. Let>X=100 Let>Y=200 Let>lparam2={%Y% SHL 16} Let>lparam={%X% OR %lparam2%} Let>WM_LBUTTONDOWN=513 Let>WM_LBUTTONUP=514 LibFunc>User32,PostMessageA,r,0,WM_LBUTTONDOWN,1,lparam LibFunc>Us...
by mhcha
Sat Feb 11, 2023 7:46 pm
Forum: Technical / Scripting
Topic: SendMessageA or PostMessageA Mouse Click
Replies: 3
Views: 2219

Re: SendMessageA or PostMessageA Mouse Click

As a test, I made a code that simply clicks the coordinates of 100 and 200, but an error occurs saying ')' is required. VBSTART Function LoWord(wInt) LoWord = wInt AND &HFFFF& End Function Function HiWord(wInt) HiWord = (wInt SHR 16) AND &HFFFF& End Function Function MAKELPARAM(wLow, wHigh) MAKELPAR...
by mhcha
Sat Feb 11, 2023 12:23 pm
Forum: Technical / Scripting
Topic: SendMessageA or PostMessageA Mouse Click
Replies: 3
Views: 2219

SendMessageA or PostMessageA Mouse Click

Hello. I want to use left-click via SendMessage or PostMessage functions in User32.dll. I made it by referring to the post below, but I'm not sure. https://www.mjtnet.com/blog/2006/01/19/set-desktop-icon-positions/ https://www.mjtnet.com/scripts/winmsgs.txt VBSTART Function LoWord(wInt) LoWord = wIn...
by mhcha
Sat Feb 04, 2023 2:52 pm
Forum: General Discussion
Topic: MS Still Being Developed?
Replies: 9
Views: 14070

Re: MS Still Being Developed?

Are there any other features currently in development?
I'm waiting for the next update.
by mhcha
Mon Jan 16, 2023 1:30 pm
Forum: Technical / Scripting
Topic: To print a window on a dialog image
Replies: 5
Views: 2839

Re: To print a window on a dialog image

Dear Dorian, Marcus, Thank you for answering my question. What I wanted was to get a specific window screen even if a specific window was covered like the image below. https://drive.google.com/file/d/1GSFg94mgEx0MRZHalNDQ7V3FoDKvg1A9/view?usp=share_link I realized that there's a limit to macro sched...
by mhcha
Mon Jan 16, 2023 12:18 am
Forum: Technical / Scripting
Topic: To print a window on a dialog image
Replies: 5
Views: 2839

Re: To print a window on a dialog image

Thank you. What I want is...
Using the macro scheduler of the PrintWindow function in User32.dll.

The screenshot function you suggested is a function that is only possible if the window is visible on the monitor.
That's not what I want.
by mhcha
Sun Jan 15, 2023 2:37 am
Forum: Technical / Scripting
Topic: To print a window on a dialog image
Replies: 5
Views: 2839

To print a window on a dialog image

Hello, I would like to add a program called Calculator to my dialog image. A program called a calculator is an example and requires the image to be dynamically. Below is the dialog and code I wrote. I want to put the calculator screen in MSImage1. Is there a good way? Dialog>Dialog1 object Dialog1: ...
by mhcha
Wed May 25, 2022 1:09 am
Forum: Technical / Scripting
Topic: Inactive window capture
Replies: 1
Views: 3025

Inactive window capture

Hello, I'm trying to make a macro that captures the screen of an inactive window and clicks it. Through many Google posts, I found that the following Windows api function is needed, and I want to apply it to the macro scheduler. The procedure is as below. 1. user32.dll FindWindowA function //can rep...
Sign up to our newsletter for free automation tips, tricks & discounts