View Full Version : [solved] Is it possible to get the system time in a script?
hanfrunz
26th April 2010, 16:38
Is it somehow possible to get the actual system time in the runtime enviroment? I realised a countdown-watch using a combination of scriptclip, subtitle and current_frame. But i like to sync the script output to realtime. I think i could write a new filter that calls subtitle itself, but maybe there's another way.
hanfrunz
Gavino
26th April 2010, 17:34
There is a built-in function Time() which returns a string with the current system time formatted as defined by a specified string.
See http://avisynth.org/mediawiki/Internal_functions/String_functions
hanfrunz
27th April 2010, 10:57
perfect! :thanks:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.