SHARE
TWEET

Untitled

a guest Aug 7th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  7. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  8. ; Generated by AutoGUI 2.6.0
  9. #SingleInstance Force
  10. #NoEnv
  11. SetWorkingDir %A_ScriptDir%
  12. SetBatchLines -1
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. Gui Add, Button, gbtn3 x168 y80 w80 h23, Copy3
  20. Gui Add, Button, gbtn2 x168 y48 w80 h23, Copy2
  21. Gui Add, Button, gbtn1 x168 y16 w80 h23, Copy1
  22. Gui Add, Edit, vEdtValue4 x0 y112 w155 h21, benne.andersson@gmail.com
  23. Gui Add, Edit, vEdtValue5 x0 y144 w153 h21, test
  24. Gui Add, Edit, vEdtValue6 x0 y176 w153 h21, 6
  25. Gui Add, Edit, vEdtValue7 x0 y208 w152 h21, 7
  26. Gui Add, Edit, vEdtValue3 x0 y80 w155 h21, benne123
  27. Gui Add, Edit, vEdtValue2 x0 y48 w154 h21, wdcwnmz7
  28. Gui Add, Edit, vEdtValue1 x0 y16 w155 h21, heknume9
  29. Gui Add, Button, gbtn4 x168 y112 w80 h23, Copy4
  30. Gui Add, Button, gbtn5 x168 y144 w80 h23, Copy5
  31. Gui Add, Button, gbtn6 x168 y176 w80 h23, Copy6
  32. Gui Add, Button, gbtn7 x168 y208 w80 h23, Copy7
  33. Gui Add, Edit, vEdtValue8 x0 y240 w152 h21, 8
  34. Gui Add, Edit, vEdtValue9 x0 y272 w152 h21, 9
  35. Gui Add, Edit, vEdtValue10 x0 y304 w152 h21, 10
  36. Gui Add, Button, gbtn8 x168 y240 w80 h23, Copy8
  37. Gui Add, Button, gbtn9 x168 y272 w80 h23, Copy9
  38. Gui Add, Button, gbtn10 x168 y304 w80 h23, Copy10
  39. Gui Add, Button, gsave x440 y312 w80 h23, Save to file
  40. Gui Add, Button, gload x528 y312 w80 h23, Load from file
  41. Gui Add, Button, gexit x352 y312 w80 h23, Exit
  42. Gui Add, Button, x264 y312 w80 h23 ghide, Hide Win
  43. Gui Add, Button, x440 y280 w166 h23 gaot, Always on Top
  44. Gui Add, DropDownList, x355 y280 w77 vsaveset, set1||set2||set3
  45.  
  46. Gui, Add, Picture,  x0 y0 w620 h346 +0x4000000, 2.jpg
  47. WinSet, TransColor, fffffe, C-Clip
  48.  
  49. Gui Add, Edit, x267 y256 w337 h21 vsearch, Google
  50. Gui Add, Button, x264 y280 w80 h23 gsearch, Search
  51.  
  52.  
  53.  
  54. Gui Show, w620 h346, C-Clip
  55.  
  56.  
  57. IniRead, kuk, conf.ini, test, EdtValue1
  58.  
  59. IniRead, EdtValue2, conf.ini, test, EdtValue2
  60.  
  61. IniRead, EdtValue3, conf.ini, test, EdtValue3
  62.  
  63. IniRead, EdtValue4, conf.ini, test, EdtValue4
  64.  
  65. IniRead, EdtValue5, conf.ini, test, EdtValue5
  66.  
  67. IniRead, EdtValue6, conf.ini, test, EdtValue6
  68.  
  69. IniRead, EdtValue7, conf.ini, test, EdtValue7
  70.  
  71. IniRead, EdtValue8, conf.ini, test, EdtValue8
  72.  
  73. IniRead, EdtValue9, conf.ini, test, EdtValue9
  74.  
  75. IniRead, EdtValue10, conf.ini, test, EdtValue10
  76.  
  77. search:
  78. Gui,Submit,Nohide
  79. search2 := "test"
  80. url:="https://www.google.se/search?newwindow=1&source=hp&ei=wWJJXejZIMSgjgbJ8rCwAg&q=" . %search% . "&oq=hehe&gs_l=psy-ab.3..35i39l2j0j0i131j0l3j0i131j0j0i131.632.1225..1528...0.0..0.162.654.1j4......0....1..gws-wiz.....0.FQd884_mYkU&ved=0ahUKEwiovpa5kO7jAhVEkMMKHUk5DCYQ4dUDCAU&uact=5"
  81.  
  82.  
  83. search2=%search% . "+" . "test"
  84. url := "https://www.google.com/search?q=" . search2
  85. Run chrome.exe %url%
  86. return
  87.  
  88.  
  89.  
  90.  
  91.  
  92. btn3:
  93. Gui,Submit,Nohide
  94. guiControlGet, txtVar3,, EdtValue3
  95. IniRead, EdtValue3, conf.ini, test, EdtValue3
  96.  
  97. Clipboard=%txtVar3%
  98.  
  99.  
  100. Return
  101.  
  102. btn2:
  103. Gui,Submit,Nohide
  104. guiControlGet, txtVar2,, EdtValue2
  105. IniRead, EdtValue2, conf.ini, test, EdtValue2
  106. Clipboard=%txtVar2%
  107. Return
  108.  
  109. btn1:
  110. Gui,Submit,Nohide
  111. guiControlGet, txtVar1,, EdtValue1
  112. IniRead, EdtValue1, conf.ini, test, EdtValue1
  113. Clipboard=%txtVar1%
  114. Return
  115.  
  116. btn4:
  117. Gui,Submit,Nohide
  118. guiControlGet, txtVar2,, EdtValue4
  119. IniRead, EdtValue4, conf.ini, test, EdtValue4
  120. Clipboard=%txtVar2%
  121. Return
  122.  
  123. btn5:
  124. Gui,Submit,Nohide
  125. guiControlGet, txtVar5,, EdtValue5
  126. IniRead, EdtValue5, conf.ini, test, EdtValue5
  127. Clipboard=%txtVar5%
  128. Return
  129.  
  130. btn6:
  131. Gui,Submit,Nohide
  132. guiControlGet, txtVar6,, EdtValue6
  133. IniRead, EdtValue6, conf.ini, test, EdtValue6
  134. Clipboard=%txtVar6%
  135. Return
  136.  
  137. btn7:
  138. Gui,Submit,Nohide
  139. guiControlGet, txtVar7,, EdtValue7
  140. Clipboard=%txtVar7%
  141. IniRead, kukEdtValue7, conf.ini, test, EdtValue7
  142. Return
  143.  
  144. btn8:
  145. Gui,Submit,Nohide
  146. guiControlGet, txtVar2,, EdtValue2
  147. IniRead, EdtValue8, conf.ini, test, EdtValue8
  148. GuiControl,,EdtValue8,%EdtValue8%
  149. Clipboard=%EdtValue8%
  150. Return
  151.  
  152. btn9:
  153. Gui,Submit,Nohide
  154. guiControlGet, txtVar2,, EdtValue2
  155. IniRead, EdtValue9, conf.ini, test, EdtValue9
  156. GuiControl,,EdtValue9,%EdtValue9%
  157. Clipboard=%EdtValue9%
  158. Return
  159.  
  160. btn10:
  161. Gui,Submit,Nohide
  162. guiControlGet, txtVar2,, EdtValue2
  163. IniRead, EdtValue10, conf.ini, test, EdtValue10
  164. GuiControl,,EdtValue10,%EdtValue10%
  165. Clipboard=%EdtValue10%
  166. Return
  167.  
  168. save:
  169. Gui,Submit,Nohide
  170.  
  171. IniWrite, %EdtValue1%, conf.ini, %saveset%, EdtValue1
  172. IniWrite, %EdtValue2%, conf.ini, %saveset%, EdtValue2
  173. IniWrite, %EdtValue3%, conf.ini, %saveset%, EdtValue3
  174. IniWrite, %EdtValue4%, conf.ini, %saveset%, EdtValue4
  175. IniWrite, %EdtValue5%, conf.ini, %saveset%, EdtValue5
  176. IniWrite, %EdtValue6%, conf.ini, %saveset%, EdtValue6
  177. IniWrite, %EdtValue7%, conf.ini, %saveset%, EdtValue7
  178. IniWrite, %EdtValue8%, conf.ini, %saveset%, EdtValue8
  179. IniWrite, %EdtValue9%, conf.ini, %saveset%, EdtValue9
  180. IniWrite, %EdtValue10%, conf.ini, %saveset%, EdtValue10
  181.  
  182. Return
  183.  
  184. load:
  185. Gui,Submit,Nohide
  186. IniRead, EdtValue1, conf.ini, %saveset%, EdtValue1
  187. GuiControl,,EdtValue1,%EdtValue1%
  188. IniRead, EdtValue2, conf.ini, %saveset%, EdtValue2
  189. GuiControl,,EdtValue2,%EdtValue2%
  190. IniRead, EdtValue3, conf.ini, %saveset%, EdtValue3
  191. GuiControl,,EdtValue3,%EdtValue3%
  192. IniRead, EdtValue4, conf.ini, %saveset%, EdtValue4
  193. GuiControl,,EdtValue4,%EdtValue4%
  194. IniRead, EdtValue5, conf.ini, %saveset%, EdtValue5
  195. GuiControl,,EdtValue5,%EdtValue5%
  196. IniRead, EdtValue6, conf.ini, %saveset%, EdtValue6
  197. GuiControl,,EdtValue6,%EdtValue6%
  198. IniRead, EdtValue7, conf.ini, %saveset%, EdtValue7
  199. GuiControl,,EdtValue7,%EdtValue7%
  200. IniRead, EdtValue8, conf.ini, %saveset%, EdtValue8
  201. GuiControl,,EdtValue8,%EdtValue8%
  202. IniRead, EdtValue9, conf.ini, %saveset%, EdtValue9
  203. GuiControl,,EdtValue9,%EdtValue9%
  204. IniRead, EdtValue10, conf.ini, %saveset%, EdtValue10
  205. GuiControl,,EdtValue10,%EdtValue10%
  206. Return
  207.  
  208. exit:
  209. ExitApp
  210. Return
  211.  
  212.  
  213. ^esc::
  214. ExitApp
  215. return
  216.  
  217. ^t::
  218.  
  219.  
  220. If WindowID =
  221. {
  222.  
  223.  MouseGetPos,,, WindowID
  224.  
  225.  WinGetTitle, WindowName, ahk_id %WindowID%
  226.  
  227. }
  228.  
  229. IfWinExist, ahk_id %WindowID% %WindowName%
  230.    
  231. WinHide
  232.  
  233. Else
  234.    
  235. WinShow, ahk_id %WindowID%
  236.  
  237. return
  238. f6::
  239. WinHide,C-Clip
  240. Gui,Add,Picture,vpic,ikon.jpg
  241. return
  242.  
  243.  
  244. ;^p::
  245. f8::
  246. WinShow,C-Clip
  247. WinActivate,C-Clip
  248. GuiControl, Hide, pic
  249.  
  250. return
  251.  
  252. hide:
  253. WinHide,C-Clip
  254. return
  255.  
  256.  
  257. aot:
  258. Winset, Alwaysontop, , A
  259. return
  260.  
  261. load2:
  262. Gui,Submit,Nohide
  263. IniRead, EdtValue1, conf.ini, test2, EdtValue1
  264. GuiControl,,EdtValue1,%EdtValue1%
  265. IniRead, EdtValue2, conf.ini, test2, EdtValue2
  266. GuiControl,,EdtValue2,%EdtValue2%
  267. IniRead, EdtValue3, conf.ini, test2, EdtValue3
  268. GuiControl,,EdtValue3,%EdtValue3%
  269. IniRead, EdtValue4, conf.ini, test2, EdtValue4
  270. GuiControl,,EdtValue4,%EdtValue4%
  271. IniRead, EdtValue5, conf.ini, test2, EdtValue5
  272. GuiControl,,EdtValue5,%EdtValue5%
  273. IniRead, EdtValue6, conf.ini, test2, EdtValue6
  274. GuiControl,,EdtValue6,%EdtValue6%
  275. IniRead, EdtValue7, conf.ini, test2, EdtValue7
  276. GuiControl,,EdtValue7,%EdtValue7%
  277. IniRead, EdtValue8, conf.ini, test2, EdtValue8
  278. GuiControl,,EdtValue8,%EdtValue8%
  279. IniRead, EdtValue9, conf.ini, test2, EdtValue9
  280. GuiControl,,EdtValue9,%EdtValue9%
  281. IniRead, EdtValue10, conf.ini, test2, EdtValue10
  282. GuiControl,,EdtValue10,%EdtValue10%
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top