Jump to content

Recommended Posts

Posted

Should that be a certain part of the code is repeated an infinite number of times until the screen displays a certain image, and it is this part of the code should be repeated endlessly until poyaleniya Pictures: Like.  And then did not come back to the beginning of the code

$refresh = _ImageSearch("refresh.bmp",1,$x,$y,1)
if $refresh = 1 Then
MouseClick("left",$x,$y,1,1)
Sleep(1000)
$news = _ImageSearch("news.bmp",1,$x,$y,1)
If $news = 1 Then
MouseClick("left",$x,$y,1,0)
Sleep(1200)
$like = _ImageSearch ("like.bmp",1,$x,$y,1)
if $like = 1 Then
MouseClick("left",$x,$y,1,0)
Posted

Look in the help file for "loops", or type "for" in SciTE and hit F1. The help file has examples with every function, and should get you started.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Posted

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

  • Moderators
Posted

Zud120.

We do not support the automation of "Like" buttons - and I will not go into how sad it is that you feel the need to do it. Thread locked. :naughty:

Your "locked thread" percentage is not looking too good at the moment - please try not to come to my attention again in the near future. ;)

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

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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