| |
|
|
- Page 1 - |
|
Christian Schneider | Hi,
I stand unfortunately time again on Kriegsfuß with of/ one .dll. this time is it The AutoItX3.dll. i want The function AU3_PixelSearch Call. CompileMarkSeparation How should now the suitable appeal looks? The Doku says:
AU3_API void WINAPI AU3_PixelSearch(long nLeft, long nTop, long nRight, long nBottom, long nCol, /*default 0*/long nVar, /*default 1*/long nStep, LPPOINT pPointResult);
I come simply not further. Dll and Help hang on the Posting on.
Greeting Christian |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Christian Schneider | The dll must well before initialized go. though works following code ditto not CompileMarkSeparationCls
Declare Test#
Dim Test#,8
Var a& = Test#
External(AutoItX3.dll,AU3_Init)
Print External(AutoItX3.dll,AU3_error)
Print External(AutoItX3.dll,AU3_PixelSearch,4, 4, 4, 4, $0000FF, 0, 1, a&)
oder noch wahrscheinlicher
Print External(AutoItX3.dll,AU3_PixelSearch,4, 4, 4, 4, $0000FF, 0, 1, Addr(a&))
Dispose Test#
Wai
|
|
|
| |
|
|
|
| @Christian: of 4,4 to 4,4? (and wrm. the detour over a&?) |
|
|
| |
|
|
|
| but nevertheless times the question: These function should what very make? |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Christian Schneider | iF
Dürfte antiquated his.
iF
24th May, 2006 - v3.1.1.1 (Beta)
* Added:
* Removed:
* Changed: PixelSearch now returns on aray (COM) and POINT (DLL)
iF
but nevertheless times the question: These function should what very make?
i want so a pretended area (in my case whom area where itself the window of/ one VM befindet) after a designed colour Search and as Result The Coordinates receive where these colour vorkommt.
iF
@Christian: of 4,4 to 4,4? (and wrm. the detour over a&?)
OK, The values are not really meaningfully, therefore wished I concern once the program not any more abschmiert. |
|
|
| |
|
|
|
Jörg Sellmeyer | The 4,4 was eimn small Error for may part. ought to 4,4,400,400 hot and the detour over a&... still one attempt worth, it time over The address the Bereichs To try. really is area# already The address but attempt power kluch. Perhaps must Yes in /*default 0*/long nVar, The Size the Bereichs yet indicated go... |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/24/09 ▲ |
|
|
|
|
| I see, daraum GEHTS means: [...]
; Find a pure red pixel in the brat 0,0-20,300 $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )
@Christian: goes it you around the DLL or around the Funktionalität?
Übrigens, The in the example there angewandte Farbkonstante $FF0000 is to of my bill not ruddy separate blue. |
|
|
| |
|
|
|
Christian Schneider | in principle GEHTS me around the Funkionalität. though contains The dll some very interesting functions, so that I tappt im dunkeln already gladly benefit wished. The Pixel were itself sure too with Boardmitteln find, however rechne I there with vastly Performanceeinbußen. |
|
|
| |
|
|
|
| independent of the DLL - can You, the anhängige Program Please once testing?
One SS.BMP becomes loaded and the weisse Pixel $FFFFFF becomes sought.
Please too once with grossen Images try and on The speed respect.
I wanted to me something like Yes anyhow basteln, here a Variante The with reinem XProfan auskommt.
ought to too with grossen Images very fix functions - Perhaps even faster as The Variante the DLL. |
|
|
| |
|
|
|
Christian Schneider | Runs with my Schnelltests free from problems and right quick(too with pictures >50MB). would be naturally super if it too independent of Bildateien functions would (where the detour a Screenshot too verkraftbar is). interestingly would yet the mehrfache Vorkommen of/ one colour inquire to (z.B. in a aray) or a manner FindNext. |
|
|
| |
|
|
|
| as Exe instead of XPrf Yes only, because I some Includes use and the whole not same auseinanderfitteln wished.
Anz. d. Vorkommen of/ one colour would likewise no trouble.
be I today evening again Zuhaus, bound I the time on. |
|
|
| |
|
|
|
RGH | Hi,
I have time a Question the Beispielcode for AU3_PixelSearch, the supra standing: On what relating the Coordinates, in them sought becomes? relating which on the Desktop, irgenein Window, irgenmdeine Bitmap, or what integrally other? Perhaps crash it Yes therefore, because here Zugrif in that vain results. there The DLL, How supra written standing, evident initialized go must, must tappt im dunkeln naturally too zuallererst with UseDLL into memory loaded go. is tappt im dunkeln this not, would tappt im dunkeln of course when calling the Init-function into WinXP? loaded, The function carryed out, but subsequently immediate again entladen will be. then would The Initialisierung for Katz! is tappt im dunkeln to the EXTERNAL-appeal already in memory, bleibnt tappt im dunkeln subsequently too there and keeps your values and data. i'd suppose, that to the appeal of AU3_PixelSearch first others Aufrufe erfolgen must, so what there's, in the sought go can. (Sorry, on my Arbeitsplatzrechner can I The Doku unfortunately not Call and study.)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/25/09 ▲ |
|
|
|