Jump to content

Recommended Posts

Posted (edited)

i have make something but i want that it never end...

how i can call it again?

like i press a button and that unlimited

What do you mean about ?

While 1;Start loop unlimited until exit
;Place here what you want to repeat unlimited
WEnd
Edited by FireFox
Posted

i have make something but i want that it never end...

how i can call it again?

like i press a button and that unlimited

I also made 'something' that i never want to end ^^,

but hey everything has to end sometime.... :mellow:

Posted (edited)

@robojang hehe nice :mellow: but your right everyone/everything must end anytime

@topic:

whats with this wrong:

hotkeyset ( "X" [, "1"] )

1 = the function

//edit: source:

HotKeySet ( "X" [, "Hans"] )

Func Hans

WinWaitActive ("Speedup")

sleep (1000)

Send("{Space}")

EndFunc

Edited by bloober
Posted (edited)

Remove the [ ], the [ ] in the helpfile mean Optional.

Also, You didnt close the Func Hans()

EDIT::

HotKeySet ( "X" , "Hans" )

Func Hans()

WinWaitActive ("Speedup")

sleep (1000)

Send("{Space}")

EndFunc

Edited by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

HotKeySet ( "X" , "Hans" )

Func Hans()

While 1

WinWaitActive ("Speedup")

sleep (1000)

Send("{Space}")

Wend

EndFunc

why does it end everytime after start it?Oo

Posted

can i check if i press Mouse 1 i dont want press any key?

Hi again ,

#include <Misc.au3>;add the function IsPressed

While 1
If _IsPressed("01") Then; check if primary mouse button have been pressed
;put here what you want
EndIf
Wend
Posted

if i press mouse 1 (that part you made) i want that press space is disabled ^^

i hate it when i press space and mouse1 and i cant hit xD

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
×
×
  • Create New...