Цитата(cirus @ 11.5.2020, 22:16)

Код
--lua
local t = os.clock()
while true do
log (os.clock() - t)
wait (100)
end
Thanks for the fast reply, but that's not what I need.
Example:
I bind given script to 'calculator.exe', and I wanna know at what time 'calculator.exe' was started or for how long calcualtor.exe is running.
For what I need this? I just want to make script which checks if process is running for more than 3 hours.