WHRobin566 Posted March 6, 2005 Share Posted March 6, 2005 (edited) How do you keep a script active? Cause i made a hotkey thing but as soon as it finishes loading all the info it just shuts down. so is there a function or somin to keep the script active? Edited March 6, 2005 by WHRobin566 Witch Hunter Robin Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2005 Developers Share Posted March 6, 2005 How do you keep a script active? Cause i made a hotkey thing but as soon as it finishes loading all the info it just shuts down. so is there a function or somin to keep the script active? <{POST_SNAPBACK}>; While 1 Sleep(10) Wend SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
CyberSlug Posted March 6, 2005 Share Posted March 6, 2005 ;HotKey Definitions go here... ;... While 1 sleep(10) Wend Exit Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 6, 2005 Author Share Posted March 6, 2005 (edited) Thanks. :"> It worked. Edited March 6, 2005 by WHRobin566 Witch Hunter Robin Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 7, 2005 Author Share Posted March 7, 2005 Well i got another question how do you find where the mouse is at with a script? Hotkeyset("{F8}", "Debug"); Func Debug(); $Mouse = MouseGetPos(); EndFunc; I did that but how do you desplay the results? Witch Hunter Robin Link to comment Share on other sites More sharing options...
layer Posted March 7, 2005 Share Posted March 7, 2005 Hotkeyset("{F8}", "Debug") Func Debug() $Mouse = MouseGetPos() MsgBox (0, "MousePos", "X: " & $mouse[0] & "Y: " & $mouse[1]) EndFunc While 1 Sleep(10) Wend FootbaG Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 7, 2005 Author Share Posted March 7, 2005 (edited) Thanks. And one last question how do you get the mouse to click there? These are pos i wanted it to click in order. X: 867 Y: 424 X: 542 Y: 417 X: 508 Y: 432 Thanks. Nm i got it but its not clicking in right pos. Any ideas? Edited March 7, 2005 by WHRobin566 Witch Hunter Robin Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 12, 2005 Author Share Posted March 12, 2005 Ok Forget all the above. I was wondering when you use WinGetTitle why wont it work i can use it for like Untitled - (untitled - notepad) and it finds it but when i use it for somthing that has a random thing first the the thing it always is it wont work such as ( - Conversation) on msn. can anyone get thing to work for things with random words first. $haha = WinGetTitle(" - Conversation") msgbox(0, "TEST", "Title: ", $haha) thats what i did it dont work. Witch Hunter Robin Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 12, 2005 Author Share Posted March 12, 2005 Still not working... is this right? Opt("WinTitleMatchMode",4) $haha = WinGetTitle(" - Conversation") msgbox(0, "TEST", "Title: ", $haha) ? Witch Hunter Robin Link to comment Share on other sites More sharing options...
steveR Posted March 12, 2005 Share Posted March 12, 2005 try Opt("WinTitleMatchMode", 2) instead AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass. Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 12, 2005 Author Share Posted March 12, 2005 Nothing just getting Title: then nothing. Witch Hunter Robin Link to comment Share on other sites More sharing options...
MHz Posted March 12, 2005 Share Posted March 12, 2005 Still not working... is this right?Opt("WinTitleMatchMode",4)$haha = WinGetTitle(" - Conversation")msgbox(0, "TEST", "Title: ", $haha)?<{POST_SNAPBACK}>You need to get your parameters correct.msgbox(0, "TEST", "Title: " & $haha) Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 12, 2005 Author Share Posted March 12, 2005 it works Cool now i cant figer out PixelSearch i use the auto it spy to find left of place with x then top with y then right with x then bottom with y is that right? Witch Hunter Robin Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 12, 2005 Author Share Posted March 12, 2005 (edited) Forget above ok i need help with this how do you get text to be picked out from a bunch of text? Opt("WinTextMatchMode",2) $work = Wingettext($haha, $hatext) msgbox(0, "TEST", "work: " & $work) if $work = $hatext Then Why wont it get the text??? o yea by the way all the msgbox says is Work: 1 why wont it say what i want it to say? Edited March 12, 2005 by WHRobin566 Witch Hunter Robin Link to comment Share on other sites More sharing options...
WHRobin566 Posted March 13, 2005 Author Share Posted March 13, 2005 k foget above again lol i found out why it wont work. how do you get it to detect text on a scroll down thing cause it dont detect it anyone know how? Witch Hunter Robin Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now