Sign in to follow this  
Followers 0
takonoob

May someone Help me?

11 posts in this topic

1. Can I Adding "Timer" & "Delay" every 7sec?

Like Below

Func Insert()

$Loop = 1

While $Loop = 1

Send("{Mouse2}")

WEnd

EndFunc

I dunno How and Where Does the timer/delay input..

Share this post


Link to post
Share on other sites



Sorry Forgot asking another question..

How Does I Can using "Mouse 2"(Right Click) on "Send "{}"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

1. Can I Adding "Timer" & "Delay" every 7sec?

Like Below

Func Insert()

$Loop = 1

While $Loop = 1

Send("{Mouse2}")

WEnd

EndFunc

I dunno How and Where Does the timer/delay input..

maybe like this

Func Insert()
    $Loop = 1
    While $Loop = 1
        Send("{Mouse2}")
                Sleep( 7 * 1000)
    WEnd
EndFunc

where 1000 = 1 second

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

omg I found a miserable problem I think the

Send("{Mouse2}") << Had enquiry some error It Keep runing "M" word only

Does it .au3 support with mouse sciprt?What Does The "right click" scipr of mouse?? :">

Share this post


Link to post
Share on other sites

From Helpfile

MouseClick ( "button" [, x, y [, clicks [, speed ]]] )

Example

MouseClick('right', 1, 1, 2)

Share this post


Link to post
Share on other sites

Erm I dont understand "does the x,y I should input ?? or just leave it?

coz I just wanna Active "Right click Key" only... so?

MouseClick('right', 1, 1, 2)

Does the *1,1,2* was move X+1,Y+1,2

what Does The Speed Use?Can I Put MouseClick('right', 0, 0, 2)??

I dun wan move the mouse :oB)

Share this post


Link to post
Share on other sites

MouseClick('Right")

mouse clicks where it is

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thank You all Ur support B)

I thin I should Reading More other works to be improving myself :">

Share this post


Link to post
Share on other sites

HotKeySet ( "{End}", "Pause" )

HotKeySet ( "{Home}", "Insert" )

$answer = MsgBox(1, ", "Press [Home] to start Macro,[End] To Pause")

If $answer = 2 Then

Exit

EndIf

While 1

Sleep(100)

WEnd

Func Pause()

$Loop = 0

While $Loop = 0

Sleep("512")

WEnd

EndFunc

Func Insert()

$Loop = 1

While $Loop = 1

Send("{F5}")

Sleep( 3 * 1000)

WEnd

EndFunc

Exit

Qeustion How did I combo Macro mode with F5x3times after delay 3sec then F2x1 times after delay 25sec,and F1 xRapid Without Delay?

Share this post


Link to post
Share on other sites

Qeustion How did I combo Macro mode with F5x3times after delay 3sec then F2x1 times after delay 25sec,and F1 xRapid Without Delay?

Below is maybe what you are wanting to do. You will need to know how many times you need to press F1.

Okay can you do the following?...

Press F5 3 times rapid.

Wait 3 seconds.

Press F2 1 time.

Wait 25 seconds.

Press F1 x times rapidly.

Start over.

That is how you have to think of programming. A single statement at a time.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

How do I Add the "press times" in this confrigue?

check I'm rite or wrong... I want to click the mouse co-ordinate on there

question : The Sleep time is runing over in order to next ?

HotKeySet ( "{F12}", "Stop" )

HotKeySet ( "{F11}", "Start" )

$answer = MsgBox(1, "Mythwar", "Press [insert] to start,[End] To Stop")

If $answer = 2 Then

Exit

EndIf

While 1

Sleep(100)

WEnd

Func Stop()

$Loop = 0

While $Loop = 0

Sleep("512")

WEnd

EndFunc

Func Start()

$Loop = 1

While $Loop = 1

MouseClick('left', 423, 546, 0)

Sleep( 1 * 1000)

MouseClick('left', 423, 546, 0)

Sleep( 1 * 1000)

MouseClick('left', 423, 546, 0)

Sleep( 1 * 1000)

MouseClick('left', 423, 546, 0)

Sleep( 1 * 1000)

WEnd

EndFunc

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