Jump to content

BIG HELP NEEDED X(


Recommended Posts

WinActivate ('ROSE online')

$count = 0

$max = 100001

$Left = 10

$Top = 140

$Right = 1030

$Bottom =735

$o = PixelSearch ($Left, $Top, $Right, $Bottom, 0xFF977B, 50)

MouseClick ("Left", $o[0], $o[1], 1, 1)

can somebody tell me whats wrong with this? this is my entire script and it doesnt work for some reason T-T

This is supposed to target the nearest thing thats red and click on it.

Link to comment
Share on other sites

ok well still doesnt work T-T

Well you have no error checking, you are assuming the pixel is actually found. Also make sure you are using the window info tool to get the exact color of the pixel you are trying to click.

$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )

If Not @error Then

MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])

EndIf

Link to comment
Share on other sites

Also try to place it into loop. Test it continuosly until it finds desired pixel.

WinActivate ('ROSE online')
$count = 0
$max = 100001
$Left = 10
$Top = 140
$Right = 1030
$Bottom =735

While 1
  $o = PixelSearch ($Left, $Top, $Right, $Bottom, 0xFF977B, 50)
  If Not @error Then
    MouseClick ("Left", $o[0], $o[1], 1, 1)
    ExitLoop
  EndIf
  Sleep(100)
WEnd
Link to comment
Share on other sites

  • 5 years later...

Hi

Can any help me to find the Domino API Call with which we can obtain the FQDN of the domino mail server. 

I am trying with NSFDbPathGet and then getting server name with OSPathNetParse. but it is not fully qualified domain name.

Regards

Munish 

Link to comment
Share on other sites

  • Moderators

mgasr,

Welcome to the AutoIt forum. :)

This thread is nearly 6 years old - and seems to have absolutely nothing to do with what you are asking. Please do not necro-post like this again - thread locked. :naughty:

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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