Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileRead , data_from_txt , %A_ScriptDir%\logpass.txt
- Loop , parse , data_from_txt , `n ; Use a parse loop to add in the necessary delimiter used by comboboxes.
- combo_items := combo_items . "|" . A_LoopField
- StringReplace , combo_items , combo_items , `r , , All ; remove the returns so we have a single line.
- Gui, +Alwaysontop +Toolwindow
- Gui, Show, W240 H100, Steam Loginer
- Gui,Add,Text,x10 y10 w65 h13,Choose acc:
- Gui,Add,DDL, x90 y10 w140 vLogpass,%combo_items%
- Gui,Add,Button, gLaunchSteam x10 y50 w60 h30, Steam
- ;Gui,Add,Button, gLaunchCSNZ x90 y50 w60 h30, ΠΠ‘ΠΊΠ°
- Gui,Add,Button, gCloseAll x170 y50 w60 h30, Kill
- Exit
- LaunchSteam:
- Run, Steam.exe -login Logpass
- return
- ;LaunchCSNZ:
- ;Run, steam://run/273110
- ;return
- CloseAll:
- Process, Close, Steam.exe
- return
- GuiClose:
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement