YourShadow Posted April 10, 2008 Share Posted April 10, 2008 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 More sharing options...
weaponx Posted April 10, 2008 Share Posted April 10, 2008 That color isn't even red, its peach. Red is more like 0xFF0000. Link to comment Share on other sites More sharing options...
YourShadow Posted April 10, 2008 Author Share Posted April 10, 2008 ok well still doesnt work T-T Link to comment Share on other sites More sharing options...
weaponx Posted April 10, 2008 Share Posted April 10, 2008 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 More sharing options...
Zedna Posted April 10, 2008 Share Posted April 10, 2008 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 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
mgasr Posted March 11, 2014 Share Posted March 11, 2014 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 More sharing options...
ZacUSNYR Posted March 11, 2014 Share Posted March 11, 2014 Perhaps you could ask over that ROSE online game forums? I'm sure other players would like to hear about what you're trying to do Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 11, 2014 Moderators Share Posted March 11, 2014 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. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts