Advertisement
volond

New Year 2021

Dec 21st, 2020
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 2.05 KB | None | 0 0
  1. ;NewYear.au3
  2. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  3. #AutoIt3Wrapper_Outfile=CreateConsolidateBlog32.exe
  4. #AutoIt3Wrapper_Outfile_x64=CreateConsolidateBlog.exe
  5. #AutoIt3Wrapper_Compile_Both=y
  6. #AutoIt3Wrapper_UseX64=y
  7. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  8. ;ClearCreateInvoise.au3
  9.  
  10. #include-once
  11. #include <Array.au3>
  12. #include <file.au3>
  13. #Include <Log.au3>
  14. #include "_1CV83.au3"
  15. #include <Date.au3>
  16. #include <ParseCMDLine.au3>
  17. #include "Invoise.au3"
  18. ;~ #include "ExcelReadCell.au3"
  19. ;~ #include "ExcelCOM_UDF.au3"
  20. #include "testGdrive.au3"
  21. $hLog=_LogIniScriptDir()
  22. $TitleFull_Window= 'E0D Звенигородське ЛГ 2 v. 1.1.0.0.ЛІАЦ'
  23. $Stroka=ClipGet()
  24. $StrokaM = Stringsplit ($Stroka,"_", 2)
  25. $PIB=$StrokaM[0]
  26. $start=$StrokaM[1]
  27. $end=$StrokaM[2]
  28. _activatewindow($TitleFull_Window,"",0,1)
  29. ;$link_small="e1cib/navigationpoint/НовогодниеЕлки/Документ.РеализацияНовогоднихЕлок.Команда.ОткрытьСписок"
  30. ;_gotolink($LinkBase,$link_small,$mova, "",2000,1)
  31. _ControlFocusINSTANCE($TitleFull_Window, "",'V8Grid',1)
  32. _SendText("{F9}",1,3000)
  33. _SendTab(1,1000)
  34. _SendText("{F4}",1,3000)
  35. _SendText("{Ins}",1,3000)
  36. _SendTab(6,1000)
  37. _SendText($PIB,1,3000)
  38. _SendCTRLENTER(1000)
  39. WinWaitActive('Покупці','')
  40. Send("{ENTER}")
  41. WinWaitActive('E0D Звенигородське ЛГ 2 v. 1.1.0.0.Реалізація новорічних ялинок (создание) - ЛІАЦ','')
  42. _SendTab(5,1000)
  43. _SendText($start,1,3000)
  44.  
  45. _SendText($end,1,3000)
  46. ;SendTab(3,1000)
  47. _SendCTRLENTER(1000)
  48. _activatewindow('🎅🎄Продажа елок 2021 🎄 🎅 - Google Таблиці - Google Chrome',"",0,1)
  49. _SendCTRLPlus('b', 1000)
  50. _SendText("{DOWN}",0,3000)
  51. ;;Send("{DOWN}")
  52. _LogAndPrintDebug($hLog, 'Выполнено-' & $PIB ,6 )
  53. _ControlFocusINSTANCE($TitleFull_Window, "",'Chrome_RenderWidgetHostHWND',1)
  54. _SendCTRLENTER(1000)
  55. ;🎅🎄Продажа елок 2021 🎄 🎅 - Google Таблиці - Google Chrome
  56.    
  57. ;Chrome_RenderWidgetHostHWND
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement