Advertisement
Guest User

Untitled

a guest
Jun 4th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.42 KB | None | 0 0
  1. Action_Upload_GuiShow(Action, ActionGUI, GoToLabel = "")
  2. {
  3.     static sActionGUI
  4.     if(GoToLabel = "")
  5.     {
  6.         sActionGUI := ActionGUI
  7.         Action.tmpPassword := Action.Password
  8.         SubEventGUI_Add(Action, ActionGUI, "Edit", "SourceFiles", "", "", "Source files:", "Placeholders", "Action_Upload_Placeholders_SourceFiles")
  9.         SubEventGUI_Add(Action, ActionGUI, "Edit", "Hostname", "", "", "Hostname:")
  10.         SubEventGUI_Add(Action, ActionGUI, "Edit", "Port", "", "", "Port:")
  11.         SubEventGUI_Add(Action, ActionGUI, "Edit", "User", "", "", "Username:")
  12.         SubEventGUI_Add(Action, ActionGUI, "Edit", "tmpPassword", "", "", "Password")
  13.         SubEventGUI_Add(Action, ActionGUI, "Edit", "TargetFolder", "", "", "Target folder:", "Placeholders", "Action_Upload_Placeholders_TargetFolder")
  14.         SubEventGUI_Add(Action, ActionGUI, "Edit", "URL", "", "", "URL:")
  15.         SubEventGUI_Add(Action, ActionGUI, "Checkbox", "Silent", "Silent", "", "")
  16.         SubEventGUI_Add(Action, ActionGUI, "Checkbox", "Clipboard", "Copy links to clipboard", "", "")
  17.     }
  18.     else if(GoToLabel = "Placeholders_SourceFiles")
  19.         SubEventGUI_Placeholders(sActionGUI, "SourceFiles")
  20.     else if(GoToLabel = "Placeholders_TargetFolder")
  21.         SubEventGUI_Placeholders(sActionGUI, "TargetFolder")
  22. }
  23. Action_Upload_Placeholders_SourceFiles:
  24. Action_Upload_GuiShow("", "", "Placeholders_SourceFiles")
  25. return
  26. Action_Upload_Placeholders_TargetFolder:
  27. Action_Upload_GuiShow("", "", "Placeholders_TargetFolder")
  28. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement