Skip to content

Commit

Permalink
fix(Modules): dpw
Browse files Browse the repository at this point in the history
dpw
  • Loading branch information
snomiao committed Aug 26, 2023
1 parent 5a33d47 commit e67c8e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Modules/QuickInput.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ QuickTextInput(GenPassword("0123456789abcdef", 16))
return

:*?:#DPW#:: ; 随机输入2段密码如:ZG1Y9XY-HCSWT71
QuickTextInput(GenPassword("123456789ABCDEFGHJKLMNPQRSTUVWXYZ", 7) "-" GenPassword("123456789ABCDEFGHJKLMNPQRSTUVWXYZ", 7))
doubleSectionPassword()
return

:*?:#QPW#:: ; 随机输入4段密码如:4428-UW4R-58YS-ALLR
Expand All @@ -128,3 +128,11 @@ return
:*?:#JPW#:: ; 随机输入日本語発音密码如:
QuickTextInput( JapaneseRomaji7Char() "-" JapaneseRomaji7Char() )
return

doubleSectionPassword(){
CharsFirst:="123456789ABCDEFGHJKLMNPQRSTUVWXYZ"
CharsRest:="123456789abcdefghijkmnopqrstuvwxyz"
section1 := GenPassword(CharsFirst, 1) GenPassword(CharsRest, 6)
section2 := GenPassword(CharsFirst, 1) GenPassword(CharsRest, 6)
QuickTextInput(section1 "-" section2)
}

0 comments on commit e67c8e6

Please sign in to comment.