Basically want to make a macro script

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 12 18:57:55 PST 2014


On 13/11/2014 3:45 p.m., Israel wrote:
> On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole
> wrote:
>> On 13/11/2014 2:37 p.m., Casey wrote:
>>> On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
>>>> On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
>>>>
>>>>>
>>>>> I'll look into that, it seems as it might work.  If D would be too
>>>>> hard to get working, what would you recommend?  I would assume Ptyhon
>>>>> or C++ would be good choices, any chance you can recommend a forum
>>>>> for these or something?  It's hard to find any documentation on what
>>>>> I am looking for.
>>>>>
>>>>> Thanks.
>>>>
>>>> I tried to test out that de_window library but it doesnt work out
>>>> of the box.
>>>>
>>>> The guy who created it though does post in this forum so maybe if
>>>> he magically finds this thread he can help you and me out.
>>>
>>> That would be nice.  I'll see if there's a way to PM him about it.  Do
>>> you have any other programming language recommendations in case this
>>> doesn't work out?
>>
>> Sorry that functionality of de_window is out of scope of it. So of
>> course, it won't work for what you want, it just creates a window and
>> a context cross platform with input for that window.
>>
>> The functionality you are wanting is possible against winapi and x11
>> fairly easily. Its just low level. Although X11 is a little easier as
>> it can be done via a program on cli.
>> Unfortunately c/c++ will help you as much as D will in these cases.
>> If you run into trouble with those api's we can help you. But you will
>> need help, these are topics that aren't recommended for a newbie.
>>
>> I'm not quite sure how to receive key presses from other windows.
>> Maybe Mike Parker (aldracon) has some ideas.
>
> Do you have plans for making win32 bindings for the sendkeys?
>
> Im interested in this too. Id like to do it with D but ive only
> ever been able to accomplish this task with C# and InputSimulator.

At this point in time, I have no plans for such a library. However if 
somebody wishes to implement under the devisualization org, I'm happy to 
help.


More information about the Digitalmars-d-learn mailing list