Jump to content

Recommended Posts

Posted

Ive done a wrapper for the X dll for JSWin and wondering a couple of things.

What does Init do?  Do I need to call it?...doesnt seem so.

And does pixelsearch sill not work, it was the one thing I couldnt get to work.

Posted (edited)

Thanks for the input JohnOne but pixel search was actually broken at one point.

I wasn't able to down the newer AutoIT as I had no data limit at the time but got it now and in the release notes.....

  • Fixed: Crash in AU3_PixelSearch when function fails. 

So its not crashing now, but I don't seem to be able to find any colour?

I'm on 32bit windows 7 if that makes a difference and using the 32bit version of v3.3.10.2.

This is the function call I'm using....

AU3_PixelSearch(rect,0xffffffff,0,1,buf);

I'm sure I've got the rect and buf structures right because rect is the same as what I'm using for AU3_WinGetPos's return value and that's working fine, but its not finding any colours and AU3_Error is returning 1.

Also while I'm here, should colour include an alpha or not?

Also while Im here....

Its a bumma the reg and ini functions where removed....yes I could re implement them, but not having to was great.

And Id still like to know if I have to do anything with init.

Edited by PAEz
Posted

PixelSearch totally works it was just me, had an error that I just kept not noticing....new day, new eyes, all good now ;)

Now Im just still wondering what init is for.

Posted

hehehe...your comment is funny ;)

When did I ever state that it can run AutoIt scripts?

It runs JS scripts that have some of AutoIt's features (all of what AutoItX exposes) and over time Im going to add more features that I want to it (I can add hot keys now and mores to come).

But hey, your free to read what ever you want between the lines :P

Posted

Yeah, I believe so.

I was asking for Js Win to have the ability to run a JS script without having to use a command line parameter declaring what script to run.
I wasnt talking about AutoIt scripts.

We all cool now? ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...