Sign in to follow this  
Followers 0
bloober

Make something unlimited

11 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  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

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

hehe thx =)

it works fine

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


Link to post
Share on other sites

#6 ·  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- #

Share this post


Link to post
Share on other sites

HotKeySet ( "X" , "Hans" )

Func Hans()

While 1

WinWaitActive ("Speedup")

sleep (1000)

Send("{Space}")

Wend

EndFunc

why does it end everytime after start it?Oo

Share this post


Link to post
Share on other sites

You need to keep the script going. Add:

While 1
Sleep(50*50*50)
WEnd

After HotKeySet()

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0