Any thoughts?
Code: Select all
Gui,+AlwaysOnTop
Gui, Font, s18 Arial
Gui, Add, Text,, ADULT FILE SCANN
Gui, Font, s10 Arial
Gui, Add, Text,, Scan the barcode
Gui, Add, Edit, h30 w240 vgtx,
Gui, Add, Button, x22 y130 w90 h30 gopengtx default, Adult
Gui, Add, Button, x115 y130 w60 h30 gopengtx2, Toddler
;Gui, Add, Button, x177 y120 w60 h30 gopengtx3, XLarge.
;Gui, Add, Button, x22 y160 w60 h30 gopengtx4, LTank.
Gui, Add, Button, x22 y200 w90 h30 gOpenFiles , Files
Gui, Add, Button, x115 y200 w90 h30 gClear2, Clean
Gui, Show ,x3400 y50 w300 h260
return
opengtx:
Gui,Submit,Nohide
source := "\\Office-server\JPGFILES\" . gtx . ".jpg"
run, %source%
sourcetwo := "\\DSPBServer\ALL-ARTWORK\" . gtx . ".png"
FileCopy, %sourcetwo%, C:\Users\PB\Desktop\HotFolder\Adult\*%A_dd%%A_Sec%.*
SetTimer, Close, -900
SetTimer, Clear2, -1300
Return