Advertisement
ListenerNius

Airport CEO Serial Entrepreneur Script

May 26th, 2024
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Autohotkey 1.65 KB | Source Code | 0 0
  1. #Requires AutoHotkey v2.0
  2. #SingleInstance Force
  3.  
  4. BreakLoop := 0
  5.  
  6. Esc::
  7. {
  8.     global BreakLoop := 1
  9.     return
  10. }
  11.  
  12. Home::
  13. {
  14.     global FirstName
  15.  
  16.     Loop
  17.     {
  18.         if (BreakLoop = 1)
  19.             break
  20.  
  21.         ; Click New Airport button
  22.         Click(230,180)
  23.  
  24.         Sleep(500)
  25.  
  26.         ; Click into First Name field
  27.         Click(840,480)
  28.         Sleep(500)
  29.        
  30.         ; Enter first name
  31.         SendText("Nius")
  32.         Sleep(500)
  33.  
  34.         ; Click into Last Name field
  35.         Click(1010,480)
  36.         Sleep(500)
  37.  
  38.         ; Enter last name
  39.         SendText("Atreides")
  40.         Sleep(500)
  41.  
  42.         ; Click Next button
  43.         Click(1050,690)
  44.         Sleep(500)
  45.  
  46.         ; Click a position on the map (specifically Baltimore)
  47.         Click(823,300)
  48.         Sleep(500)
  49.  
  50.         ; Click Next button
  51.         Click(1050,690)
  52.         Sleep(500)
  53.  
  54.         ; Click into Airport Name field
  55.         Click(810,120)
  56.         Sleep(500)
  57.  
  58.         ; Enter airport name
  59.         SendText("Atreides International Airport")
  60.         Sleep(500)
  61.  
  62.         ; Click into IATA field
  63.         Click(800,200)
  64.         Sleep(500)
  65.  
  66.         ; Enter IATA code
  67.         SendText("AIA")
  68.         Sleep(500)
  69.  
  70.         ; Click Next button
  71.         Click(1050,690)
  72.         Sleep(500)
  73.  
  74.         ; Wait for game to load
  75.         Sleep(10000)
  76.  
  77.         ; Click menu button
  78.         Click(1340,20)
  79.         Sleep(500)
  80.  
  81.         ; Click quit button
  82.         Click(1260,420)
  83.         Sleep(500)
  84.  
  85.         ; Click confirm quit button
  86.         Click(690,410)
  87.         Sleep(500)
  88.  
  89.         ; Wait for menu to load
  90.         Sleep(10000)
  91.     }
  92.     return
  93. }
Tags: ahk airportceo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement