Jump to content

Recommended Posts

Posted

CODE
HotKeySet("{END}", "sts")

HotKeySet("{INS}", "str")

$times = InputBox( "SRBOT", "How Many Times?" )

Func str()

Send( "{BROWSER_REFRESH " & $times & "}" )

EndFunc

Func sts()

HotKeySet("{END}")

Send("{END}")

HotKeySet("{END}", "sts")

EndFunc

How do I set a delay of like 1 second between each send of the browser refresh?

Posted

CODE
HotKeySet("{END}", "sts")

HotKeySet("{INS}", "str")

$times = InputBox( "SRBOT", "How Many Times?" )

Func str()

Send( "{BROWSER_REFRESH " & $times & "}" )

EndFunc

Func sts()

HotKeySet("{END}")

Send("{END}")

HotKeySet("{END}", "sts")

EndFunc

How do I set a delay of like 1 second between each send of the browser refresh?

This might help...

Try the script, it's pretty cool.

http://www.autoitscript.com/forum/index.ph...st&p=565971

AutoItSetOption("WinWaitDelay", 1)

AutoItSetOption("WinTitleMatchMode", 2)

Run("notepad")

WinWait("Notepad")

For $i = 10 To 100 Step 10

AutoItSetOption("SendKeyDelay", $i)

WinActivate("Notepad")

Send("I am typing here " & $i & "ms" & @CR)

Next

For $i = 200 To 400 Step 100

AutoItSetOption("SendKeyDelay", $i)

WinActivate("Notepad")

Send("I am typing here " & $i & "ms" & @CR)

Next

Posted

CODE
HotKeySet("{END}", "sts")

HotKeySet("{INS}", "str")

$times = InputBox( "SRBOT", "How Many Times?" )

Func str()

Send( "{BROWSER_REFRESH " & $times & "}" )

EndFunc

Func sts()

HotKeySet("{END}")

Send("{END}")

HotKeySet("{END}", "sts")

EndFunc

How do I set a delay of like 1 second between each send of the browser refresh?

Sleep(1000);delay 1s
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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...