Advertisement
henrikx

Startsim.bat

Mar 21st, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.83 KB | None | 0 0
  1. @echo off
  2.  
  3. :MENU
  4. ECHO ...............................................
  5. ECHO Select Aircraft
  6. ECHO ...............................................
  7. ECHO.
  8. ECHO 1 - 737-600
  9. ECHO 2 - 737-700
  10. ECHO 3 - 737-800
  11. ECHO 4 - EXIT
  12. ECHO ...............................................
  13. SET /P M=Type 1, 2, 3, or 4 then press ENTER:
  14. ECHO ...............................................
  15. ECHO
  16.  
  17. ECHO "Starting SIM..."
  18. start "" "D:\Lockheed Martin\Prepar3D v3\Prepar3D.exe"
  19. echo "Starting ADDONS..."
  20. start "" "D:\Nedlastinger\FSX . P3D\FSXWX.exe"
  21. start "" "D:\Nedlastinger\FSX . P3D\projectFLY.exe"
  22. timeout 2 > NUL
  23. nircmd win activate process cmd.exe
  24. echo "Addons started!"
  25. echo "Waiting for FSUIPC/Simconnect..."
  26. timeout 6 > NUL
  27. echo "ProjectFLY..."
  28. nircmd win activate process projectFLY.exe
  29. timeout 1 > NUL
  30. nircmd setcursor 967 572
  31. nircmd sendmouse left click
  32. echo "FSXWX..."
  33. nircmd win activate process cmd.exe
  34. timeout 1 > NUL
  35. nircmd win activate process FSXWX.exe
  36. nircmd sendkeypress spc
  37. timeout 1 > NUL
  38. nircmd win activate process cmd.exe
  39.  
  40. timeout 1 > NUL
  41. nircmd win activate process Prepar3D.exe
  42. timeout 1 > NUL
  43.  
  44. nircmd setcursor 711 486
  45. nircmd sendmouse left click
  46. nircmd setcursor 1212 240
  47. nircmd sendmouse left click
  48.  
  49. IF %M%==1 GOTO 600
  50. IF %M%==2 GOTO 700
  51. IF %M%==3 GOTO 800
  52. IF %M%==4 GOTO EOF
  53. timeout 1 > NUL
  54. :600
  55. nircmd setcursor 656 346
  56. timeout 1 > NUL
  57. nircmd sendmouse left click
  58. GOTO after
  59. :700
  60. nircmd setcursor 656 362
  61. timeout 1 > NUL
  62. nircmd sendmouse left click
  63. GOTO after
  64. :800
  65. nircmd setcursor 656 383
  66. timeout 1 > NUL
  67. nircmd sendmouse left click
  68. GOTO after
  69.  
  70. :after
  71. timeout 1 > NUL
  72. nircmd setcursor 1392 892
  73. nircmd sendmouse left click
  74.  
  75. timeout 1 > NUL
  76.  
  77. nircmd setcursor 1107 500
  78. nircmd sendmouse left click
  79. timeout 1 > NUL
  80. nircmd setcursor 1036 264
  81. nircmd sendmouse left click
  82.  
  83. echo "All done!"
  84. :EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement