Grinya90

D&EX

Jul 10th, 2017 (edited)
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.81 KB | None | 0 0
  1. While 1
  2.  
  3. WinWaitActive("Ez3D2009")
  4.  
  5. WinWaitActive("CD/DVD Burner")
  6.  
  7. $M = MsgBox(262148, "EXPORT MEMORY", "ИЗВЛЕЧЬ ДАЙКОМЫ?")
  8.  
  9. IF $M = 6 Then
  10.  
  11. Sleep(1500)
  12.  
  13. $IB=InputBox("!!!","ВВЕДИТЕ ФИО ПАЦИЕНТА")
  14.  
  15. Sleep(1500)
  16.  
  17. WinActivate("!!!")
  18.  
  19. DirCreate("D:\6_Desktop\"&$IB)
  20.  
  21. DirCopy("C:\Ez3D2009\CDViewer\3DViewer","D:\6_Desktop\"&$IB, 1)
  22.  
  23. Sleep(500)
  24.  
  25. DirMove("D:\6_Desktop\"&$IB ,"\\Admin-pc\data",1)
  26.  
  27. MsgBox(262144,"EXPORT MEMORY","УСПЕШНО!")
  28.  
  29. ProcessClose("Ez3D2009.exe")
  30.  
  31. Sleep(30000)
  32.  
  33. DirRemove("C:\Ez3D2009\CDViewer\3DViewer\Data",1)
  34.  
  35. DirCreate("C:\Ez3D2009\CDViewer\3DViewer\Data")
  36.  
  37.  
  38. ELSE
  39.  
  40. ProcessClose("Ez3D2009.exe")
  41.  
  42. Sleep(30000)
  43.  
  44. DirRemove("C:\Ez3D2009\CDViewer\3DViewer\Data",1)
  45.  
  46. DirCreate("C:\Ez3D2009\CDViewer\3DViewer\Data")
  47.  
  48.  
  49. EndIf
  50.  
  51. WEnd
  52.  
Add Comment
Please, Sign In to add comment