You are on page 1of 6

#SingleInstance force

Setmousedelay, 30
setkeydelay, 15
settitlematchmode, 2

!^1::
{
if !winExist("CBORD Systems - [Foodservice Suite] - \\Remote")
Run,
C:\Users\asdrwer\AppData\Roaming\Citrix\SelfService\CBORDFSSUWMCPRODV12.exe

While !winExist("CBORD Systems - [Foodservice Suite] - \\Remote")


Sleep 100

winactivate, CBORD Systems - [Foodservice Suite] - \\Remote

Gosub, ProdReports

gosub, SelectReports

gosub, SelectDates

while !winactive("CBORD Systems - [Temp. Collection Service Summary] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Temp. Collection Service Summary] - \\Remote

gosub, P17N

while !winactive("CBORD Systems - [Temp. Collection Service Summary] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Temp. Collection Service Summary] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Ingredient Control Labels] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Ingredient Control Labels] - \\Remote

gosub, p20

while !winactive("CBORD Systems - [Ingredient Control Labels] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Ingredient Control Labels] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Ingredient Control Area Worklist] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Ingredient Control Area Worklist] - \\Remote

gosub, p17s

while !winactive("CBORD Systems - [Ingredient Control Area Worklist] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Ingredient Control Area Worklist] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Kitchen Production Recipe] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Kitchen Production Recipe] - \\Remote

gosub, p17n

while !winactive("CBORD Systems - [Kitchen Production Recipe] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Kitchen Production Recipe] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Advance Withdrawal List] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Advance Withdrawal List] - \\Remote

gosub, p17l

while !winactive("CBORD Systems - [Advance Withdrawal List] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Advance Withdrawal List] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Service Requirements Pick List] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Service Requirements Pick List] - \\Remote

gosub, p17l

while !winactive("CBORD Systems - [Service Requirements Pick List] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Service Requirements Pick List] - \\Remote
}

send,!c

while !winactive("CBORD Systems - [Production Worksheet] - \\Remote")


sleep 100
winactivate, CBORD Systems - [Production Worksheet] - \\Remote

gosub, p17l

while !winactive("CBORD Systems - [Production Worksheet] - \\Remote")


{
sleep 100
winactivate, CBORD Systems - [Production Worksheet] - \\Remote
}
send,!c

Return
}

P20:
{

send,!p
while !winexist("Print Options - \\Remote")
sleep 100

send,!t

While !winexist("Printer Setup - \\Remote")


sleep 100

send,{home}{down 4}!s

while !winexist("U-FNS-P020 (from U-FNS-C023A) in session ")


sleep 100

Send,{right 4}!b{down}{home}{enter}{tab 2}{enter}

While !winactive("Printer Setup - \\Remote")


sleep 100

send,{enter}

while !winactive("Print Options - \\Remote")


sleep 100

send,{tab 6}{enter}

while winexist("Print: U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

Return
}

P17L:
{

send,!p
while !winexist("Print Options - \\Remote")
sleep 100

send,!t

While !winexist("Printer Setup - \\Remote")


sleep 100

send,{home}{down 3}!s

while !winexist("U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

Send,{right 4}!b{down}{home}{down}{enter}{tab 2}{enter}


While !winactive("Printer Setup - \\Remote")
sleep 100

send,{enter}

while !winactive("Print Options - \\Remote")


sleep 100

send,{tab 6}{enter}

while winexist("Print: U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

}
Return

P17S:
{

send,!p
while !winexist("Print Options - \\Remote")
sleep 100

send,!t

While !winexist("Printer Setup - \\Remote")


sleep 100

send,{home}{down 3}!s

while !winexist("U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

Send,{right 4}!b{down}{home}{down 2}{enter}{tab 2}{enter}

While !winactive("Printer Setup - \\Remote")


sleep 100

send,{enter}

while !winactive("Print Options - \\Remote")


sleep 100

send,{tab 6}{enter}

while winexist("Print: U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

Return
}

P17N:
{

send,!p
while !winexist("Print Options - \\Remote")
sleep 100
send,!t

While !winexist("Printer Setup - \\Remote")


sleep 100

send,{home}{down 3}!s

while !winexist("U-FNS-P017 (from U-FNS-C023A) in session ")


sleep 100

Send,{right 4}!b{down}{home}{enter}{tab 2}{enter}

While !winactive("Printer Setup - \\Remote")


sleep 100

send,{enter}

while !winactive("Print Options - \\Remote")


sleep 100

send,{tab 6}{enter}

}
return

!^q::
{
ExitApp
return
}

SelectReports:
{
send,{down} {down 6} {down 4} {down 2} {down 4} {down 2} {down 2}{space}
send,{enter}

while !winexist("Query Menus for Report - \\Remote")


sleep 100

return
}

SelectDates:
{
send,!a{down}{tab}today{+}5{tab}today{+}11 ; {enter}

while !winactive("Select Menus for Report - \\Remote")


sleep 100

send,{enter}
Return
}

ProdReports:
{
send,!gs
click 938, 76 2
click 410, 77 2

While !winexist("Kitchen Production Report Method - \\Remote")


sleep 100

send,{enter}

return
}

You might also like