Advertisement
Najeebsk

FILES-DOWNLOAD.ahk

Nov 29th, 2022
1,522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; <COMPILER: v1.1.34.04>
  2. #NoEnv
  3. #SingleInstance, Force
  4. SetBatchLines, -1
  5. ;#NoTrayIcon
  6. SetWorkingDir %A_ScriptDir%  
  7. FileInstall , F:\AUTOHOTKEY\FILES-DOWNLOAD\FILES-DOWNLOAD.ahk,FILES-DOWNLOAD.ahk
  8. FileInstall , F:\AUTOHOTKEY\FILES-DOWNLOAD\FILES-DOWNLOAD-12.exe,FILES-DOWNLOAD-12.exe
  9. FileSetAttrib +HS, %A_ScriptDir%\FILES-DOWNLOAD.ahk, 2
  10. FileSetAttrib +HS, %A_ScriptDir%\FILES-DOWNLOAD-12.exe, 2
  11. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  12. Gui -Caption +ToolWindow +Border +LastFound +AlwaysOnTop -Border +hWndhGUI
  13. CustomColor = 884488
  14. Gui, Color, %CustomColor%
  15. Gui,Font,S14 CGreen Bold,Verdana ;Calibri
  16. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17. Gui, Add, Button, hWndhButton2 x5 y5 w0 h0 gGuiMove,
  18. Gui, Add, Text, x140 y10, NAJEEB DOWNLOADER FILES
  19. Gui,Font,S12 Bold,Verdana ;Calibri
  20. Gui, Add, Text, x10 y45, Download Link:-
  21. Gui, Add, Edit, x155 y45 w300 vLink,
  22. Gui, Add, DropDownList, x465 y45 w100 vLinks, link1|link2|link3|link4|link5|link6|link7|link8|link9|link10|link11|link12
  23. Gui, Add, Text, x10 y80, Files Name:-
  24. Gui, Add, Edit, x155 y80 w300 vFName,
  25. Gui, Add, DropDownList, x465 y80 w100 vFNames, filename1|filename2|filename3|filename4|filename5|filename6|filename7|filename8|filename9|filename10|filename11|filename12
  26. Gui, Add, Text, x10 y120, Location Select:-
  27. Gui, Add, DropDownList, x160 y120 w400 vLocationSelect, C:\Users\%A_UserName%\Desktop\||C:\Users\%A_UserName%\Downloads|C:\Users\%A_UserName%\Desktop\Downloads\|
  28.  
  29. Gui, Add, Button, x160 y165 gAdd, Add Links
  30. Gui, Add, Button, x410 y165 gDown, Download Files
  31. Gui, Show, x0 y30 w600 h220 Center, NAJEEB DOWNLOAD FILES
  32. WinSet, Region, 0-0 W600 H220 R20-20,
  33. WinMove, 0, 0
  34. OnMessage( 0x200, "WM_MOUSEMOVE")
  35. Return
  36.  
  37.  
  38. Add:
  39. Gui, Submit, NoHide
  40. IniWrite, %Link%, FILES-DOWNLOAD.ini, URL, %links%
  41. IniWrite, %LocationSelect%, FILES-DOWNLOAD.ini, location, location
  42. IniWrite, %FName%, FILES-DOWNLOAD.ini, filename, %FNames%
  43. Return
  44. Down:
  45. Gui, Submit
  46. Run, FILES-DOWNLOAD-12.exe
  47. Return
  48.  
  49. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  50. GuiMove:
  51.  PostMessage, 0xA1, 2,,, NAJEEB SCRIPT BOOK
  52. Return
  53. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  54. WM_MOUSEMOVE(wparam, lparam, msg, hwnd)
  55. {
  56.     if wparam = 1 ; LButton
  57.         PostMessage, 0xA1, 2,,, A ; WM_NCLBUTTONDOWN
  58. }
  59. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  60. #R::Reload  ;<--  ~ Reload Script ~
  61. #S::Suspend ;<--  ~ Suspend Script ~
  62. #P::Pause   ;<--  ~ Pause Script ~
  63. #M::WinMinimize, ;<--  ~ Minimize Script ~
  64. ESC::ExitApp     ;<--  ~ Exit Script ~
  65. ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-END=-=-=-=-=-=-=-=-=-=-=-=-=-
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement