Jump to content

PixelGetColor problem


akroon
 Share

Go to solution Solved by akroon,

Recommended Posts

Seeing you want to work with a webpage - you can use the IE controls built into AutoIt and do what you want with IE.

 

Seeing you say that above when I asked you if the app was a web based application and you show a screenshot of a web browser later - that tells me you are really trying to NOT say what the name of the application is.

Cut the bullshit. What is the name of the application? So far you are wasting our time with your refusal to be straight with us.

 

Thats a lovely attitude you got there mate, "Cut the bullshit", if he's wasting your time then stop checking this thread.

what if Google Chrome is the name of the program? its an exe.

Link to comment
Share on other sites

  • Moderators

Palestinian,

In my opinion MBALZESHARI's attitude is justified, if expressed a trifle robustly. ;)

Could I remind you of this part of the Forum rules:

 

"Do not flame or insult other members - and just report the thread to a Moderator"

Then you would have got my response without the need to raise your blood pressure by posting. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Please try to answer this question as best you can.

Why is PixelCoordMode not working, what exactly is going wrong with it?

Show your current code, and indicate where you think the problem might be.

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

Palestinian,

In my opinion MBALZESHARI's attitude is justified, if expressed a trifle robustly. ;)

Could I remind you of this part of the Forum rules:

 

"Do not flame or insult other members - and just report the thread to a Moderator"

Then you would have got my response without the need to raise your blood pressure by posting. :)

M23

 

Sorry about my robust response. I was a bit carried away there.

The question remains however - what is the name of the application you wish to monitor?

Edited by MBALZESHARI
Link to comment
Share on other sites

Thats a lovely attitude you got there mate, "Cut the bullshit", if he's wasting your time then stop checking this thread.

what if Google Chrome is the name of the program? its an exe.

I asked him if it was a web based app. The browser used makes no difference no matter if it is Firefox, IE, Chrome, or Opera.

Link to comment
Share on other sites

Please try to answer this question as best you can.

Why is PixelCoordMode not working, what exactly is going wrong with it?

Show your current code, and indicate where you think the problem might be.

Ok, the PixelCoordMode take the pixelcolour of the currently active window and in my case the window where i want take the pixelcolor isn't active. Understand?

Link to comment
Share on other sites

Yes, but i don't know how focalize the function pixelgetcolor on this handle

 

PixelGetColor(x,y,[hwnd])

 

Seems like the solution is staring you in the face.

Perhaps you should stop trying so hard to cheat at a game and go play it instead.

That **IS** what you're trying to automate, isn't it? 

I mean, that's exactly why you've been evasive about giving us the name of the program you're automating, right?

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

Ok, the PixelCoordMode take the pixelcolour of the currently active window and in my case the window where i want take the pixelcolor isn't active. Understand?

 

No we do not understand. No posted code and you avoid giving the name of the application. At this point I see no reason to not think you are trying to get around the forum rules. If you are working with a game, game automation is not allowed here. The forum rules are quite clear on this. If you are doing something legit, then tell us the name of the application.

Link to comment
Share on other sites

Google chrome, mozilla firefox, internet explorer, tor browser, camtasia studio, file browser, file zilla, winrar. Want name of other programs that i use or is enought? I don't know how work with processes so my programs are full based on pixelcolor!

Link to comment
Share on other sites

  • Developers

Google chrome, mozilla firefox, internet explorer, tor browser, camtasia studio, file browser, file zilla, winrar. Want name of other programs that i use or is enought?

Not really, be exact when you want help else you are wasting everybody's time.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Put it another way - You want to monitor a second window and a specific pixel in that window. WHY? Listing a name of all your applications you have on your PC - that is not what we are asking. Why do you need to monitor a second window and what is the NAME of that window and the name of that app that runs that window for the purpose you want. That is what we are asking.

If you ONLY know how to work with pixelcolor - then learn how to work with controls. Look at ControlClick for example. Look at the AutoItWindowInfo tool that is part of the AutoIt Suite. Not hard to do at all.

Edited by MBALZESHARI
Link to comment
Share on other sites

My computer is so slow so for do some action like copy file on filezilla or render video in camtasia i make programs that help me to complete the work without my control. For example if i have 10video on camtasia to render i make a program that render all video 1by1.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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