LoginSignup
0
1

More than 1 year has passed since last update.

Tera Termマクロでランダムなパスワードを生成する(サンプル)

Posted at

Tera Termマクロでランダムなパスワードを生成する

Tera Termマクロでランダムなパスワードを生成したサンプルです。

randompw.ttl
length=10
alphabets='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
strlen alphabets
alphabetslen=result
password=''
randomchar=''
for i 1 length
  random pos alphabetslen
  strcopy alphabets pos 1 randamchar
  strconcat password randamchar
next
inputbox 'パスワードは' 'パスワード生成結果' password
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1