Jump to content

Recommended Posts

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

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)

Link to post
Share on other sites
  • 2 weeks later...

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?

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)

Link to post
Share on other sites
  • 2 months later...

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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...