Skip to main content
Skip table of contents

Time Values

2.2 時間値

コマンド引数 Wait コマンドの引数や他のコマンドのwait/timeout/delayパラメータなどの時間値は、以下の構文をサポートしている:

  • 「1」は1ミリ秒として解析される、

  • 「1s」は1秒、

  • 「1m」は1分、

  • 「1h」は1時間、

  • 「1d」は1日。

  • 「1w」は1週間

  • 「1M」は1ヶ月

  • 「1y」は1年

浮動小数点変数は英語フォーマットでのみ使用可能で、例えば '3.5h' は3.5時間(3時間30分)として解析されます。時間値には数値式を含めることができます。Numeric Expressions の章を参照してください。

例:

Wait "1.5d"

– 1日半(36時間)待つ。

Press Ctrl+C wait=5s

– Ctrl+Cを押して5秒間一時停止。

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.