Code: Select all
aaa=1
bbb=2
If aaa=1 and bbb=2
Code: Select all
if aaa=1
{
if bbb=2
{
}
}
Code: Select all
aaa=1
bbb=2
If aaa=1 and bbb=2
Code: Select all
if aaa=1
{
if bbb=2
{
}
}
Code: Select all
If (aaa=1) and (bbb=2)
Code: Select all
aaa=1
bbb=2
c=1 and bbb=2
d := "1 and bbb=2"
If (aaa=1 and bbb=2)
Send x
If d=1 and bbb=2
Send y
Code: Select all
If (aaa=1) and (bbb=2)
Code: Select all
Process, Exist, this process has spaces.exe
Code: Select all
Process, Exist, "this process has spaces.exe"
Code: Select all
if (aaa=1)
Code: Select all
if !errorlevel & winexist(ahk_exe this) & winexist(ahk_exe thisb) & aaa =1 or !errorlevel & winexist(ahk_exe check2) & winexist(ahk_exe check2) & aaa=1
Code: Select all
if !errorlevel
{
if winexist(ahk_exe this) & winexist(ahk_exe thisb) or !errorlevel & winexist(ahk_exe check2) & winexist(ahk_exe check2)
{
if aaa=1
{
run, my task or process's
}
}
}
Code: Select all
Process, Exist, Intelligent standby list cleaner ISLC.exe
If !ErrorLevel ; If the task is NOT running
Code: Select all
DllCall("GetCurrentProcessId")
Code: Select all
if !errorlevel & winexist(ahk_exe this) & winexist(ahk_exe thisb) & aaa =1 or !errorlevel & winexist(ahk_exe check2) & winexist(ahk_exe check2) & aaa=1
could be:TrebleTA wrote:Code: Select all
if !errorlevel & winexist(ahk_exe this) & winexist(ahk_exe thisb) & aaa =1 or !errorlevel & winexist(ahk_exe check2) & winexist(ahk_exe check2) & aaa=1
Code: Select all
if (!errorlevel && aaa=1) && ((winexist(ahk_exe this) && winexist(ahk_exe thisb)) || winexist(ahk_exe check2))
Code: Select all
if (!errorlevel && winexist("ahk_exe this") && winexist("ahk_exe thisb") && aaa =1) or (!errorlevel && winexist("ahk_exe check2") && winexist("ahk_exe check2") && aaa=1)
Code: Select all
MsgBox, % 1 && 1 || 0 && 1