Help us understand the problem. What is going on with this article?

AHK(AutoHotkey)を使い Alt + t ; 自分のデスクトップにタイムスタンプを使ったフォルダを作成する

More than 1 year has passed since last update.

;------------
!t:: ; Alt+t
;------------

;デスクトップのフルパス
todayvar = %A_Now%

StringMid , yvar , todayvar , 1 , 4

StringMid , mvar , todayvar , 5 , 2

StringMid , dvar , todayvar , 7 , 2

StringMid , hmvar , todayvar , 9 ,4

;例:2019-06-06_1217 1分単位
cfn = %yvar%-%mvar%-%dvar%_%hmvar%

cfn = %A_Desktop%\%cfn%

;MsgBox , Today【フォルダ作成】%cfn%

;フォルダを作成
FileCreateDir, %cfn%

;作成したフォルダを開く
run , %cfn%

Sleep,300

Return

flhtc1964
https://kuhen.org/ndb 1964年生まれ。 データベースで使う汎用テーブルを1個だけで全部処理する研究を続けています。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away