Jump to content

pixel clicking on consistent drag-able map?


Itzu
 Share

Recommended Posts

Hello, I am very new to programming, the only experience I have is a little html and css.

I have a map that is green, tan, blue on certain area's. Cities show up as squares, and area's with no cities have tiles made up 7 or so of the little squares. I can zoom in and out on the map. The city squares change to a certain color. I want to find that certain color and or cities and apply an action to them.

Is there a way I can do this?

Also, the map is on a webpage, it is drag-able and zoom-able.

Please help, thanks.

Link to comment
Share on other sites

  • Moderators

Itzu,

Then there is no reason why you should not give us the url of the webpage so that we can try to give you more help than a quick reference to PixelSearch in the Help file. ;)

M23

Edit: Welcome to the AutoIt forum, by the way. :)

Edited by Melba23

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

I did read the rules. Nothing I said breaks them.

You said:

I have a map that is green, tan, blue on certain area's. Cities show up as squares, and area's with no cities have tiles made up 7 or so of the little squares. I can zoom in and out on the map. The city squares change to a certain color. I want to find that certain color and or cities and apply an action to them.

Also, the map is on a webpage, it is drag-able and zoom-able.

  • Do not discuss any of the following:

  • Automating games or game servers. See below for more details.
...

...

Additional notes regarding game automation:

Do not discuss automating games here.

What else do you need?
Link to comment
Share on other sites

  • Moderators

magodiez,

Please do not jump to conclusions so quickly. Although I agree it could well be for a game, I can also think of a number of other things it might be. ;)

Just be patient and see what the OP does now. If the url he provides shows it is a game, then the thread get locked; if not then we can help. If he does not reply then the whole question becomes moot. The ball is in his court. :)

All readers,

While we are grateful that you all try to keep this forum the kind of place we want it to be, please do not be too aggressive, particularly to new members. If there is some doubt as to the legality of the subject (as in this case) report the thread so that a Mod can take a look - that is why we have them here. Do NOT get involved in flaming matches with the OP - that can only end in tears, possibly for you as well. :D

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

  • Moderators

MPH,

The map may be Google maps or Mapquest

My thoughts exactly. :)

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

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
 Share

  • Recently Browsing   0 members

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