SHARE
TWEET

_ToolTipRunTask

YuJa Feb 7th, 2019 245 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <String.au3>
  2. #include <AutoItConstants.au3>
  3.  
  4. Global $sTitle = "Chương trình tự động 1.1.0.0"
  5. Global $aArray = ["Tasks first", "Tasks Second", "Main execute"]
  6.  
  7. _ToolTipRunTask(0, 399)
  8. Sleep(3000)
  9.  
  10. Func _ToolTipRunTask($iTask, $iNumber)
  11.     $sAddSpace = _StringRepeat(" ", StringLen($sTitle) - StringLen($aArray[$iTask] & " - Time: " & $iNumber))
  12.  
  13.     ToolTip($sAddSpace & $aArray[$iTask] & " - Time: " & $iNumber, _
  14.             @DesktopWidth, _
  15.             @DesktopHeight, _
  16.             $sTitle, _
  17.             $TIP_INFOICON, _
  18.             $TIP_FORCEVISIBLE)
  19.  
  20. EndFunc  ;==>_ToolTipRunTask
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top