Advertisement
Rich4rd

Logins-PasswordsTemplatewithRButton

Nov 3rd, 2022 (edited)
1,961
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Autohotkey 3.16 KB | Source Code | 0 0
  1. #Persistent
  2. Gui +LastFound +OwnDialogs +AlwaysOnTop    ;This sets InputBox as AlwaysOnTop
  3. ;InputBox, OutputVar, Title, Prompt, HIDE, Width, Height, X position, Y position, Locale, Timeout, Default
  4. InputBox, Password, Please Enter Your Password, (Your input will be hidden),HIDE, 240, 140, 480, 300, Locale, 10 ;Locale means if the Locale parameter is the word Locale, then the OK and Cancel buttons are named according to the current user's locale (for example, Abbrechen instead of Cancel on a German OS). ;10 means the Timeout is 10 seconds. ;The Default is the default already ready written password as an example.
  5. If Password = 12 stars
  6.   return
  7. Else
  8.   ;Reload
  9.     ExitApp
  10. return
  11.  
  12. /*
  13. If Password <> 19   ;If Password <> accepts only numerical passwords. Replace the second instance of Password in this line with your desired password.
  14.  ExitApp
  15. Return
  16. */
  17.  
  18. ;End of Auto-Execute section.
  19.  
  20. ;The rest of your script goes down here.
  21. RButton::
  22. Menu,Logins,Add,Google.com,Google.com
  23. Menu,Logins,Add,facebook.com,facebook.com
  24. Menu,Logins,Add,RegOrg,RegOrg
  25. Menu,Logins,Add,Secret Org,Secret.org
  26.  
  27. Menu,facebook.com,Add,1@Facebook,1@Facebook
  28. Menu,Logins,Add,Yahoo Mails,YahooMails
  29.  
  30. Menu,Yahoo Mails,Add,1@yahoo,1@yahoo
  31. Menu,Yahoo Mails,Add,2@yahoo,2@yahoo
  32. Menu,Logins,Add,facebook.com,:facebook.com
  33. Menu,Logins,Add,Yahoo Mails,:Yahoo Mails
  34.  
  35. Menu,Logins,Show
  36. return
  37.  
  38. Google.com:
  39. ClipAll := ClipboardAll
  40. clipboard := ""
  41. SendInput, login{Tab}
  42. Sendinput, password{return}
  43. Sleep, 200
  44. Clipboard := ClipAll
  45. Return
  46.  
  47. facebook.com:
  48. 1@Facebook:
  49. ClipAll := ClipboardAll
  50. clipboard := ""
  51. SendInput, login{Tab}
  52. Sendinput, {Text}password
  53. SendInput, {Tab}{Enter}
  54. Sleep, 200
  55. Clipboard := ClipAll
  56. Return
  57.  
  58. YahooMails:
  59. 1@yahoo:
  60. :C*:1@yah:: ;Y4h00 M411
  61. ClipAll := ClipboardAll
  62. clipboard := ""
  63. SendInput, 1@yahoo.com{Enter} ; 0 = zero
  64. Sleep, 2600
  65. MsgBox, 4097, Wait!, Wait! ;AlwaysOnTopMsgBox
  66. IfMsgBox, Cancel
  67.     return
  68. IfMsgBox, OK
  69. :C*T:,1@yah::  
  70. SendInput, {Raw}
  71. (`<>*:;?~.&+_,"`%#!
  72. password password password password password password
  73. )
  74. Send, {Enter}
  75. Sleep, 200
  76. Clipboard := ClipAll
  77. return
  78.  
  79.  
  80. 2@yahoo:
  81. :C*:2@yah:: ;Y4h00 M411
  82. ClipAll := ClipboardAll
  83. clipboard := ""
  84. SendInput, 2@yahoo.com{Enter} ; 0 = zero
  85. Sleep, 2600
  86. MsgBox, 4097, Wait!, Wait! ;AlwaysOnTopMsgBox
  87. IfMsgBox, Cancel
  88.     return
  89. IfMsgBox, OK
  90. :C*T:,2@yah::  
  91. SendInput, {Raw}
  92. (`<>*:;?~.&+_,"`%#!
  93. password password password password password password
  94. )
  95. Send, {Enter}
  96. Sleep, 200
  97. Clipboard := ClipAll
  98. return
  99.  
  100. Secret.org:
  101. ClipAll := ClipboardAll
  102. clipboard := ""
  103. SendInput, login{Tab}
  104. Sendinput, {Text}
  105. (`<>*:;?~.&+_,"`%#!
  106. Very long long long password
  107. )
  108. SendInput, {Tab}{Enter}
  109. Sleep, 200
  110. Clipboard := ClipAll
  111. Return
  112.  
  113. RegOrg:
  114. :*:@reg::
  115. ClipAll := ClipboardAll
  116. clipboard := ""
  117. SendInput, 1reg@reg.org{Tab}
  118. Sleep, 100
  119. SendInput, {Text}
  120. (`<>*:;?~.&+_,"`%#!
  121. pass 1 pass 1
  122. )
  123. {
  124. ;RegRead, OutputVar, |RootKey,             |SubKey,      |ValueName
  125. RegRead, Content, HKLM, HARDWARE\DESCRIPTION\System\BIOS, SystemProductName
  126. Sendinput {Text} %Content%
  127. }
  128. Sleep, 500
  129. SendInput, {Text}
  130. (`<>*:;?~.&+_,"`%#!
  131.  pass 2 pass 2
  132. )
  133. Send, {Enter}
  134. Clipboard := ClipAll
  135. return
  136.  
  137.  
  138. Esc::
  139.     ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement