English
Forum

AutoItX3.dll - PixelSearch Funktionsaufruf

 
- 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
CLS
Declare autodll&
autodll&=UseDll(AutoItX3.dll)
importFunc(autodll&,AU3_PixelSearch,PixelSearch)
Pixelsearch(???????????)
FreeDLL autodll&
Waitk

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

186 kB
Hochgeladen:02/23/09
Downloadcounter237
Download
306 kB
Hochgeladen:02/23/09
Downloadcounter185
Download
 
XProfan 11| Vista(64) SP2
02/23/09  
 



 
- Page 2 -



Christian
Schneider
The dll must well before initialized go. though works following code ditto not
CompileMarkSeparation
 
XProfan 11| Vista(64) SP2
02/24/09  
 



@Christian: of 4,4 to 4,4? (and wrm. the detour over a&?)
 
02/24/09  
 



but nevertheless times the question: These function should what very make?
 
02/24/09  
 



in the network grasiert too another others (ältere?) Syntax:
CompileMarkSeparation
 
02/24/09  
 




Christian
Schneider
iF
in the network grasiert too another others (ältere?) Syntax:
CompileMarkSeparation


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.
 
XProfan 11| Vista(64) SP2
02/24/09  
 




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.
 
02/24/09  
 




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.
 
XProfan 11| Vista(64) SP2
02/24/09  
 



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.

1.038 kB
Hochgeladen:02/24/09
Downloadcounter95
Download
0 kB
Hochgeladen:
Downloadcounter0
Download
 
02/24/09  
 




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.
 
XProfan 11| Vista(64) SP2
02/25/09  
 



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.
 
02/25/09  
 




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  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

23.002 Views

Untitledvor 0 min.
Normann Strübli06/09/20
Walter12/31/18
Peter Max Müller12/19/17
E.T.12/12/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie