Jump to content

Y3llo

Members
  • Posts

    3
  • Joined

  • Last visited

Y3llo's Achievements

Seeker

Seeker (1/7)

1

Reputation

    It works perfectly, thanks a lot !
  1. Hello thank you for the answer but on this I do not know where to put the name of my process?
  2. Hello, I started in AutoIt and I would have a little help to suspend a process because I can not do it: (. Made in what I want in the end is that my script running a small window with a button (made with Koda Form Designer) that that clicking it suspends the desired process. But I do not know what to put in it: '( Here is what I have done: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #RequireAdmin #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Hychigo = GUICreate("By Hychigo", 301, 121, 192, 124) GUISetBkColor(0x99B4D1) $Button1 = GUICtrlCreateButton("Arrêter", 8, 16, 281, 89) GUICtrlSetFont(-1, 50, 400, 0, "Papyrus") GUICtrlSetColor(-1, 0x000000) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 <I do not know what I should put here.> EndSwitch WEnd Func <I do not know what I should put here.> _processussuspend (<The process that I want>) EndFunc Thank for help
×
×
  • Create New...