Jump to content

Recommended Posts

Posted

I'm slowly getting better using the help files and wikis but I'm still stuck as far as a couple things are concerned. @tempdir, how can I pick my directory that I want to save my .ini file to

IniWrite(@TempDir & "\board.ini", "General", "URL", $url)
IniWrite(@TempDir & "\board.ini", "General", "username", $user)
IniWrite(@TempDir & "\board.ini", "General", "Password", $pass)

I'd also like to be able to change my 3 input boxes into 1 box with 3 inputs

GUICreate("test", 600, 850)
GUISetFont(1)
$details = "Please Enter Details"

$url = InputBox ($details, "Please Enter URL:", "", "", 250, 120)
$user = InputBox ($details, "Please Enter Username", "","", 250, 120)
$pass = InputBox ($details, "Please Enter Your Password", "", "*", 250, 120)

I'd love some examples but if not csn I at least be guided to the correct commands

cheers

Posted

This may help you with your first question

http://www.autoitscript.com/autoit3/docs/functions/FileSelectFolder.htm

To create three input boxes in one dialog, you would use this function

http://www.autoitscript.com/autoit3/docs/functions/GUICreate.htm

with repeats of this one

http://www.autoitscript.com/autoit3/docs/functions/GUICtrlCreateInput.htm

Hope this helps. Good luck with your project!

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...