Search found 10 matches

by Jozsa
Fri Apr 27, 2007 11:27 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

Label>Start

OnEvent>KEY_DOWN,VK1,0,LeftMouseDown

SRT>LeftMouseDown
RClick
END>LeftMouseDown

Wait>0.035

Goto>Start




Just replace the RClick with the LDown wait, L stuff.
or Let>X=X+1, whatever you want.
by Jozsa
Fri Apr 27, 2007 11:06 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

the letter, sorry for ambiguity
by Jozsa
Fri Apr 27, 2007 10:59 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

but just one REALLY basic question

how do i make macro scheduler do:

Push L Key in
wait 0.2
Release L Key
wait 0.2
by Jozsa
Fri Apr 27, 2007 10:56 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

Sure it does, i just got it to work perfectly :)

Thanks for all the help though :D!

And sorry for being a programmy newb.
by Jozsa
Fri Apr 27, 2007 10:52 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

so its impossible to do what i want with a macro?
by Jozsa
Fri Apr 27, 2007 10:46 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

haha, well thanks for all the help.
but i just ran into a problem...

theoretically...
if i hold down the mouse button, every time the loop runs, it will detect its down, and type a Z... it doesnt though. it will only type a z when i CLICK the mouse while its running

any idea how to do what i want?
by Jozsa
Fri Apr 27, 2007 10:38 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

Label>Start

OnEvent>KEY_DOWN,VK1,0,LeftMouseDown

SRT>LeftMouseDown
Press ALT
END>LeftMouseDown

Wait>0.2
Goto>Start





THANKS SON, i playd around, (Ill just replace the Press ALT line with Let x = x + 1)

you are my hero. works perfectly.
by Jozsa
Fri Apr 27, 2007 10:33 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

Hmm. thanks for helping but that didnt quite make sense to me... ill make it even easier to explain, i want this directly translated into code Label>Start OnEvent>KEY_DOWN,VK1,0,LeftMouseDown Type "Z" Wait>0.2 Goto>Start What this means is... The code will infinately loop, and WHEN it runs through t...
by Jozsa
Fri Apr 27, 2007 10:21 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

With Macro Scheduler you can use OnEvent and KeyDown to detect when a key or mouse button is pressed, How do i do this? If you just tell me how to do: OnEvent LeftMouseDown , x=x+1 or KeyDown LeftMouse , x=x+1 whichever is how you'd go about it. forget about the repetitions, i can do that with Labe...
by Jozsa
Fri Apr 27, 2007 10:02 am
Forum: Technical / Scripting
Topic: How do i code: If (Button/Key = Down)
Replies: 19
Views: 18535

How do i code: If (Button/Key = Down)

Basically... I want to write a script so while i hold a mouse button / keyboard key down, every second it will make x = x + 1 In a more program/script type language i want to do, Label>Start If (LeftMouseButton = Down) { x = x+1 } Wait>1.0 Goto>Start Can anyone help me with the exact terms, im only ...
Sign up to our newsletter for free automation tips, tricks & discounts