PAEz Posted January 28, 2014 Share Posted January 28, 2014 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. Link to comment Share on other sites More sharing options...
JohnOne Posted January 28, 2014 Share Posted January 28, 2014 PixelSearch always worked, it just had its x and y mixed up. I believe it's amended in newest version. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
PAEz Posted January 30, 2014 Author Share Posted January 30, 2014 (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 January 30, 2014 by PAEz Link to comment Share on other sites More sharing options...
PAEz Posted February 2, 2014 Author Share Posted February 2, 2014 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. Link to comment Share on other sites More sharing options...
PAEz Posted February 2, 2014 Author Share Posted February 2, 2014 If you've ever wanted to do AutoIt stuff with js (and I mean real JS (V8), not that awful JScript crap) then check the issues for JS Win, I posted it there..... https://github.com/proog128/jswin/issues/6 ..hope I got it right Thanks for the dll version, cool stuff. Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 3, 2014 Share Posted February 3, 2014 In response to your comments about using JSWin and AutoItX to run scripts, this is never going to happen. AutoItX has never been for running scripts and is only meant to expose some of the useful functions of AutoIt to other languages. Link to comment Share on other sites More sharing options...
PAEz Posted February 3, 2014 Author Share Posted February 3, 2014 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 Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 3, 2014 Share Posted February 3, 2014 Please really consider adding the ability to run a script without a command line parameter....I REALLY want it This was posted on the github issue you linked to by a user with the same username. Is this not you? Link to comment Share on other sites More sharing options...
PAEz Posted February 3, 2014 Author Share Posted February 3, 2014 yes, its me Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 3, 2014 Share Posted February 3, 2014 Then was I misunderstanding what you posted? Link to comment Share on other sites More sharing options...
PAEz Posted February 3, 2014 Author Share Posted February 3, 2014 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? Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 3, 2014 Share Posted February 3, 2014 Ah that would explain it. I did misunderstand then. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now