Hi Luke,

On Tue, Feb 28, 2017 at 5:11 AM, lw1990 <[email protected]> wrote:

> Thank you all for the excellent replies
> I will be rereading them, here are my thoughts/responses for now:
>
> There exists a windows scripting language called autohotkey
> (autohotkey.com), similar to autoit, which does everything I want, I
> merely
> wanted to make similar functionality in Pharo so I could use Pharo - it
> will
> be better for large and ambitious windows projects.
>
> AutoHotkey is open source and the source of the language is in C.
>
> So, most or all of the necessary C code is hopefully already available, I
> will just have to figure out how to put it into Pharo. It will not be as
> ambitious as Autohotkey itself because Pharo has most of the functionality
> required by default - all that is needed is DllCall's for the Windows API
> to
> get/set values, hooks to be aware of Windows Messages, and perhaps one day
> an API to create native windows gui's using Pharo syntax. That is at least
> all of the main stuff I can think of that would be useful to most business
> people that want to automate their windows OS.
>
> Pharo offers a very good IDE/debugger and programming environment, and
> natural language syntax which Autohotkey lacks. Autohotkey is the best
> there
> is right now, but I believe Pharo could surpass it quickly once some of
> this
> functionality is implemented. The number one reason Autohotkey is easy to
> use is because the community is extremely responsive and helpful, and Pharo
> seems to be this way too :-)
>

There is a complete integration of the Windows event loop in Newspeak,
written by Vassili Bykov.  It is implemented above the same Alien callbacks
we have in Pharo and Squeak, which use slightly different, but mostly
common versions of the same VM.  If you're looking to integrate with
Windows events I suggest contacting the newspeaklanguage group and asking
there for assistance in porting the code to Pharo.

--
> View this message in context: http://forum.world.st/How-to-
> listen-for-microsoft-os-windows-messages-WM-MESSAGE-s-
> tp4936285p4936388.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
>

_,,,^..^,,,_
best, Eliot

Reply via email to