flat assembler
Message board for the users of flat assembler.

Index > Windows > How to click a button?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 198
Location: section '.code' executable
semiono 08 Jan 2025, 23:05
Quote:

FindWindowA A 'ApplicationFrameWindow', A 'Calculator'

Where is invoke? Very cool for me) This is fasm2/fasmg ?

Very Happy
Post 08 Jan 2025, 23:05
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4073
Location: vpcmpistri
bitRAKE 09 Jan 2025, 01:09
semiono wrote:
Quote:

FindWindowA A 'ApplicationFrameWindow', A 'Calculator'

Where is invoke? Very cool for me) This is fasm2/fasmg ?

Very Happy
We don't need invoke. Once we define the environment and the dependances it becomes redundant. I've used the macro capabilities of fasmg/fasm2 to create a syntax that's easier for me to type/read. Also, I create features that are Windows specific. For example, string prefixes which make blended A/W code less error-prone and extends to the many string types used in Windows. I understand it's terse and adds to the learning curve. C/C++ are the lingua-franca of Windows development and translation becomes almost trivial - even the A.I. tools can pickup the syntax and run with it. [With sufficient examples.]

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 09 Jan 2025, 01:09
View user's profile Send private message Visit poster's website Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 198
Location: section '.code' executable
semiono 10 Jan 2025, 18:37
Useful idea! AHK Script. control, Disable .. control, Hide

Code:
numBut := "3,9,14,4,10,15,5,11,16,6"
run, calc
WinWaitActive, ahk_class CalcFrame
loop, parse, numbut, `,
        control, Disable,,% "Button" a_loopfield , ahk_class CalcFrame
ExitApp
    


This reason are should be that user do not click other button)
Post 10 Jan 2025, 18:37
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.