Code: Select all
if (Toggle = 1)
SoundPlay, "d:\speakers.mp3", wait
if (Toggle = 0)
SoundPlay, "d:\headphones.mp3", wait
Code: Select all
if (Toggle = 1)
SoundPlay, "d:\speakers.mp3", wait
if (Toggle = 0)
SoundPlay, "d:\headphones.mp3", wait
Code: Select all
FileRead, SomeText, somefile.txt
StringSplit,SplitText,SomeText,`n,`r
i := 0
Loop, % SplitText0
{
i++
if (RegExMatch(SplitText%i%,"((w{3}.)|(https?))(:\/{2})?\S+", foundURL))
listUpdate .= foundURL "`r"
}
MsgBox, % listUpdate
return
Code: Select all
ClipboardEdit := StrSplit (Clipboard, A_Space)
loop, % ClipboardEdit.MaxIndex()
{
entry := ClipboardEdit[A_Index]
MsgBox % entry
}
MsgBox done
Code: Select all
oHTTP.SetProxy( 2, "someproxy.com:80")
Code: Select all
oWord.Selection.TypeText("Visit" sometxt "`r" anotherVar "`r maybe more text `r")