SHARE
TWEET

Untitled

a guest Nov 27th, 2019 162 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. '12-2-19
  2. 'StarBucks ordering system
  3. 'Emulates an ordering system for Starbucks
  4. '
  5. UpperLeftX = 1
  6. UpperLeftY = 1
  7. WindowHeight = 900
  8. WindowWidth = 400
  9. 'Starting buttons
  10. button #Menu1.HotCoffe, "Hot Coffes", [HotCoffe], UL, 100, 100, 100, 50
  11. button #Menu1.ColdCoffe, "Cold Coffes", [ColdCoffe], UL, 200, 100, 100, 50
  12. button #Menu1.HotTea, "Hot Teas", [ColdCoffe], UL, 100, 150, 100, 50
  13. button #Menu1.IcedTea, "Iced Teas", [IcedTeas], UL, 200, 150, 100, 50
  14. 'other universal buttons
  15. button #ConfirmItem.Yes, "Yes", [ItemConfirmed], UL, 100, 150, 100, 50
  16. button #ConfirmItem.No, "No", [ItemCancelled], UL, 200, 150, 100, 50
  17. button #ConfirmItem.MoreThanOne "More Then 1", [MoreThenOne], UL,  150, 200, 100, 50
  18. 'Hot Coffe Buttons
  19. button #HotCoffe.Expresso, "Expresso Shots", [Expressos], UL, 100, 100, 100, 50
  20. button #HotCoffee.Cappuccinos, "Cappuccinos", [Cappuccinos], UL, 200, 100, 100, 50
  21. button #HotCoffee.Lattes, "Lattes", [Lattes],  UL, 100, 150, 100, 50
  22. button #HotCoffee.Americanos, "Americanos", [Americanos], UL, 200, 150, 100, 50
  23. button #HotCoffee.Brewed_Coffees, "Brewed Coffees", [Brewed_Coffees], UL, 100, 200, 100, 50
  24. button #ExpressoShots.Express, "Expresso", [Expresso], UL, 100, 100, 100, 50
  25. button #ExpressoShots.EspressoConPanna, "Espresso Con Panna", [EspressoConPanna] UL 100, 200, 100, 50
  26. open "Menu" for window as #Menu1
  27. wait
  28. [HotCoffee]
  29. open "Hot Coffees" for window as #HotCoffee
  30. wait
  31. 'handles everything dealing with expresso shots
  32. [Expressos]
  33. open "Expressos" for window as #ExpressoShots
  34. CurrentCatagory = 1
  35. wait
  36. [Expresso]
  37. open "Confirm  item" for window as #ConfirmItem
  38. CurrentItem = 0
  39. wait
  40. [EspressoConPanna]
  41. open "Confirm item" for window as #ConfirmItem
  42. 'handles everything dealing with Cappuccinos
  43. [Cappuccinos]
  44. notice "Cappuccinos was pressed"
  45. 'handles everything with lattes
  46. [Lattes]
  47. notice "Lattes was pressed"
  48. 'handles everything with  Americanos
  49. [Americanos]
  50. notice "Americanos was pressed"
  51. 'handles everything with Brewed Coffeees
  52. [Brewed_Coffees]
  53. notice "Brewed Coffeees was pressed"
  54. close #HotCoffee
  55. close #Menu1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top