Jump to content

Recommended Posts

Posted

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.

  • Moderators
Posted (edited)

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

 

Posted

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?
  • Moderators
Posted

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

 

  • Moderators
Posted

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

 

Posted

Yes, I want to use this with https://maps.google.com/

I want my script to be able to drag the map to certain area's on the map, put some kind of marker on the place, and be able to click the marker and add dialog or something.

Thanks.

Posted

Ok,

I'm not really convinced, but I'll give you the benefit of the doubth... :)

If you want to work with google maps, there is a great Google Maps API that you can use... I've used it in javascript and is not too complicated...

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
  • Recently Browsing   0 members

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