HELP About Continuation section too long
Posted: 24 May 2019, 01:54
Hello! Please, somebody help me!
I'm following this tutorial but I can not get results.
Splitting a Long Line into a Series of Shorter Ones: https://www.autohotkey.com/docs/Scripts.htm
My Script:
I'm following this tutorial but I can not get results.
Splitting a Long Line into a Series of Shorter Ones: https://www.autohotkey.com/docs/Scripts.htm
Code: Select all
Var =
(
...
)
Var = %Var%`n ; Add more text to the variable via another continuation section.
(
...
)
FileAppend, %Var%, C:\My File.txt
Code: Select all
Gui, Add, Edit, r1 ReadOnly w200 vAlert, Stopped!
Gui, Add, Button, vStartScript gStartG, START!
Gui, Show,
return
toggle := 0
StartG:
toggle := !toggle
if (toggle) {
GuiControl,,StartScript, STOP!
GuiControl,,Alert, Running!
CritObj := CriticalObject({"variable1": 10})
DllOn := AhkThread("
(
Var =
(
... 150lines
)
Var = %Var%`n
(
... +150lines
)
Var = %Var%`n
(
... +150lines
)
)", &CritObj)
DllOn.ahkPause("Off")
} else {
DllOn.ahkTerminate.1
GuiControl,,Alert, Stopped!
GuiControl,,StartScript, START!
}
return
Esc::ExitApp
GuiClose:
ExitApp