Custom Query (3921 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (325 - 327 of 3921)

Ticket Resolution Summary Owner Reporter
#3663 Completed documentation for AdlibRegister() Melba23 rudi
Description

The documentation for this function should point out, that the fist call of the registered function is not immediately, but after the specified delay time.

Suggestion: [snip] Remarks Every 250 ms (or time ms) the specified "function" is called. The first call is not immediately, but after that time. Typically used to check for unforeseen errors. For example, you could use adlib in a script which causes an error window to pop up unpredictably.

Example code, showing that the first call is *AFTER* the specified intervall:

$start=TimerInit()

AdlibRegister("TestFirstRun",10*1000)

while 1

if TimerDiff($start) > 40*1000 then ExitLoop

WEnd

MsgBox(0,"The End","After " & Round (TimerDiff($start)/1000,3) & " seconds.")

Func TestFirstRun()

MsgBox(0,"TestFirstRun",Round (TimerDiff($start)/1000,3) & " seconds.",1)

EndFunc

#3662 Fixed Additional Parameter for FileGetTime() to return the milliseconds as well Jpm rudi
Description

Fact: NTFS has very accurate file timestamp information, but FileGetTime() only returns down to a granularity of seconds.

Feature Request:

FileGetTime ( "filename" [, option = 0 [, format = 0 [, ms = 0] ] ] )

My QND approach, slightly modified from date.au3:

#include <Date.au3>

$file = "c:\temp\test.txt" ; file must already exist

$TSLastModMs = GetFileLastModWithMs($file) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $TSLastModMs = ' & $TSLastModMs & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console

Func GetFileLastModWithMs($_FullFilePathName)

$h = _WinAPI_CreateFile($_FullFilePathName, 2, 2) $aTS = _Date_Time_GetFileTime($h) _WinAPI_CloseHandle($h) $aDate = _Date_Time_FileTimeToArray($aTS[2]) Return StringFormat("%04d-%02d-%02d %02d:%02d:%02d.%03d", $aDate[2], $aDate[0], $aDate[1], $aDate[3], $aDate[4], $aDate[5], $aDate[6])

EndFunc ;==>GetFileLastModWithMs

#3661 Rejected Creating a button: want to know where it ends gf16954@…
Description

When I create a button by GUICtrlCreateButton without a Width parameter, the button is created such as to fit a text. It is comfortable, but when I want to create a control next to the button, I don't know where to start it because I don't know where the button ends.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.