Moose, I think RR need to add CLI for startup...
When Windows is loaded , we place link to RR with key "run" (for ex. ) to StartUp menu and it start eve and start mining =)
It's good when you out of comp and have problems with electricity...
Code:
pSwitches = run,runfast
If 0 > 0
{
Loop, %0%
{
Param := %A_Index%
StringLeft, Switch_Pointer, Param, 1
If ( Switch_Pointer = "-" OR Switch_Pointer = "/" )
{
StringMid, Switch, Param, 2, StrLen( Param )
Loop, parse, pSwitches, `,
{
If Switch = %A_LoopField%
{
Switch_Count += 1
Switch%Switch_Count% := A_LoopField
}
}
}
}
}
Loop %Switch_Count%
{
Switch_Val := Switch%A_Index%
}
And before GUI
Quote:
If Switch1
{
Gosub,PreStart
}
|
This is simple example and it's work =)
But need improve it for check|uncheck FirstRun...