Jump to content

Recommended Posts

Posted (edited)
:lmao: 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? o:) Edited by WHRobin566
Witch Hunter Robin
  • Developers
Posted

:lmao: 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? o:)

<{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.
  :)

Posted

:lmao: 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
Posted

Hotkeyset("{F8}", "Debug")

Func Debug()
$Mouse = MouseGetPos()
MsgBox (0, "MousePos", "X: " & $mouse[0] & "Y: " & $mouse[1])
EndFunc
While 1
Sleep(10)
Wend

FootbaG
Posted (edited)

:lmao: 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. o:)

Nm i got it but its not clicking in right pos. Any ideas?

Edited by WHRobin566
Witch Hunter Robin
Posted

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
Posted

Still not working... :)

is this right?

Opt("WinTitleMatchMode",4)

$haha = WinGetTitle(" - Conversation")

msgbox(0, "TEST", "Title: ", $haha)

?

Witch Hunter Robin
Posted

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)
Posted

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
Posted (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 by WHRobin566
Witch Hunter Robin
Posted

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

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...