Code: Select all
ReadIniFile>C:\macrofolder\Settings.ini,Login,Username,Username
Dialog>Dia
Caption=macroname
Width=306
Height=318
Top=CENTER
Left=CENTER
Max=1
Min=1
Close=1
Resize=1
Label=Type Username Below:,8,8,true
Edit=User,8,24,153,%Username%
Edit=Pass,8,72,153,,*
Label=Type Password Below:,8,56,true
Button=Resume already running,16,152,137,25,1
Button=Start program,16,112,137,25,3
EndDialog>Dia
Show>Dia,r
If>r=3,LogSet
If>r=1,Station2
If>r=2,Exit
Label>LogSet
EditIniFile>C:\macrofolder\Settings.ini,Login,Username,%Dia.User%
[/Textarea]