Sign in to follow this  
Followers 0
supadodger

can someone tell me why this is giving me numbers for the variables instead of the input text?

4 posts in this topic

[autoit]#include <EditConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=

$Form1 = GUICreate("Dialog", 1025, 739, 191, 124)

$Button1 = GUICtrlCreateButton("more options", 912, 688, 99, 41, 0)

$SaveButton = GUICtrlCreateButton("Save and Go", 912, 640, 99, 41, 0)

GUISetIcon("D:\009.ico")

$Group1 = GUICtrlCreateGroup("FTP LOGINS", 8, 0, 137, 633)

$ftplogin1 = GUICtrlCreateInput("", 16, 24, 121, 21)

$ftplogin2 = GUICtrlCreateInput("", 16, 48, 121, 21)

$ftplogin3 = GUICtrlCreateInput("", 16, 72, 121, 21)

$ftplogin4 = GUICtrlCreateInput("", 16, 96, 121, 21)

$ftplogin5 = GUICtrlCreateInput("", 16, 120, 121, 21)

$ftplogin6 = GUICtrlCreateInput("", 16, 144, 121, 21)

$ftplogin7 = GUICtrlCreateInput("", 16, 168, 121, 21)

$ftplogin8 = GUICtrlCreateInput("", 16, 192, 121, 21)

$ftplogin9 = GUICtrlCreateInput("", 16, 216, 121, 21)

$ftplogin10 = GUICtrlCreateInput("", 16, 240, 121, 21)

$ftplogin11 = GUICtrlCreateInput("", 16, 264, 121, 21)

$ftplogin12 = GUICtrlCreateInput("", 16, 288, 121, 21)

$ftplogin13 = GUICtrlCreateInput("", 16, 312, 121, 21)

$ftplogin14 = GUICtrlCreateInput("", 16, 336, 121, 21)

$ftplogin15 = GUICtrlCreateInput("", 16, 360, 121, 21)

$ftplogin16 = GUICtrlCreateInput("", 16, 384, 121, 21)

$ftplogin17 = GUICtrlCreateInput("", 16, 408, 121, 21)

$ftplogin18 = GUICtrlCreateInput("", 16, 432, 121, 21)

$ftplogin19 = GUICtrlCreateInput("", 16, 456, 121, 21)

$ftplogin20 = GUICtrlCreateInput("", 16, 480, 121, 21)

$ftplogin21 = GUICtrlCreateInput("", 16, 504, 121, 21)

$ftplogin22 = GUICtrlCreateInput("", 16, 528, 121, 21)

$ftplogin23 = GUICtrlCreateInput("", 16, 552, 121, 21)

$ftplogin24 = GUICtrlCreateInput("", 16, 576, 121, 21)

$ftplogin25 = GUICtrlCreateInput("", 16, 600, 121, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group2 = GUICtrlCreateGroup("FTP PASSWORDS", 144, 0, 137, 633)

$ftppass1 = GUICtrlCreateInput("", 152, 24, 121, 21)

$ftppass2 = GUICtrlCreateInput("", 152, 48, 121, 21)

$ftppass3 = GUICtrlCreateInput("", 152, 72, 121, 21)

$ftppass4 = GUICtrlCreateInput("", 152, 96, 121, 21)

$ftppass5 = GUICtrlCreateInput("", 152, 120, 121, 21)

$ftppass6 = GUICtrlCreateInput("", 152, 144, 121, 21)

$ftppass7 = GUICtrlCreateInput("", 152, 168, 121, 21)

$ftppass8 = GUICtrlCreateInput("", 152, 192, 121, 21)

$ftppass9 = GUICtrlCreateInput("", 152, 216, 121, 21)

$ftppass10 = GUICtrlCreateInput("", 152, 240, 121, 21)

$ftppass11 = GUICtrlCreateInput("", 152, 264, 121, 21)

$ftppass12 = GUICtrlCreateInput("", 152, 288, 121, 21)

$ftppass13 = GUICtrlCreateInput("", 152, 312, 121, 21)

$ftppass14 = GUICtrlCreateInput("", 152, 336, 121, 21)

$ftppass15 = GUICtrlCreateInput("", 152, 360, 121, 21)

$ftppass16 = GUICtrlCreateInput("", 152, 384, 121, 21)

$ftppass17 = GUICtrlCreateInput("", 152, 408, 121, 21)

$ftppass18 = GUICtrlCreateInput("", 152, 432, 121, 21)

$ftppass19 = GUICtrlCreateInput("", 152, 456, 121, 21)

$ftppass20 = GUICtrlCreateInput("", 152, 480, 121, 21)

$ftppass21 = GUICtrlCreateInput("", 152, 504, 121, 21)

$ftppass22 = GUICtrlCreateInput("", 152, 528, 121, 21)

$ftppass23 = GUICtrlCreateInput("", 152, 552, 121, 21)

$ftppass24 = GUICtrlCreateInput("", 152, 576, 121, 21)

$ftppass25 = GUICtrlCreateInput("", 152, 600, 121, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group3 = GUICtrlCreateGroup("site PASSWORD", 888, 0, 137, 633)

$sitepass1 = GUICtrlCreateInput("", 896, 24, 121, 21)

$sitepass2 = GUICtrlCreateInput("", 896, 48, 121, 21)

$sitepass3 = GUICtrlCreateInput("", 896, 72, 121, 21)

$sitepass4 = GUICtrlCreateInput("", 896, 96, 121, 21)

$sitepass5 = GUICtrlCreateInput("", 896, 120, 121, 21)

$sitepass6 = GUICtrlCreateInput("", 896, 144, 121, 21)

$sitepass7 = GUICtrlCreateInput("", 896, 168, 121, 21)

$sitepass8 = GUICtrlCreateInput("", 896, 192, 121, 21)

$sitepass9 = GUICtrlCreateInput("", 896, 216, 121, 21)

$sitepass10 = GUICtrlCreateInput("", 896, 240, 121, 21)

$sitepass11 = GUICtrlCreateInput("", 896, 264, 121, 21)

$sitepass12 = GUICtrlCreateInput("", 896, 288, 121, 21)

$sitepass13 = GUICtrlCreateInput("", 896, 312, 121, 21)

$sitepass14 = GUICtrlCreateInput("", 896, 336, 121, 21)

$sitepass15 = GUICtrlCreateInput("", 896, 360, 121, 21)

$sitepass16 = GUICtrlCreateInput("", 896, 384, 121, 21)

$sitepass17 = GUICtrlCreateInput("", 896, 408, 121, 21)

$sitepass18 = GUICtrlCreateInput("", 896, 432, 121, 21)

$sitepass19 = GUICtrlCreateInput("", 896, 456, 121, 21)

$sitepass20 = GUICtrlCreateInput("", 896, 480, 121, 21)

$sitepass21 = GUICtrlCreateInput("", 896, 504, 121, 21)

$sitepass22 = GUICtrlCreateInput("", 896, 528, 121, 21)

$sitepass23 = GUICtrlCreateInput("", 896, 552, 121, 21)

$sitepass24 = GUICtrlCreateInput("", 896, 576, 121, 21)

$sitepass25 = GUICtrlCreateInput("", 896, 600, 121, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group8 = GUICtrlCreateGroup("site LOGIN", 752, 0, 137, 633)

$sitelogin1 = GUICtrlCreateInput("", 760, 24, 121, 21)

$sitelogin2 = GUICtrlCreateInput("", 760, 48, 121, 21)

$sitelogin3 = GUICtrlCreateInput("", 760, 72, 121, 21)

$sitelogin4 = GUICtrlCreateInput("", 760, 96, 121, 21)

$sitelogin5 = GUICtrlCreateInput("", 760, 120, 121, 21)

$sitelogin6 = GUICtrlCreateInput("", 760, 144, 121, 21)

$sitelogin7 = GUICtrlCreateInput("", 760, 168, 121, 21)

$sitelogin8 = GUICtrlCreateInput("", 760, 192, 121, 21)

$sitelogin9 = GUICtrlCreateInput("", 760, 216, 121, 21)

$sitelogin10 = GUICtrlCreateInput("", 760, 240, 121, 21)

$sitelogin11 = GUICtrlCreateInput("", 760, 264, 121, 21)

$sitelogin12 = GUICtrlCreateInput("", 760, 288, 121, 21)

$sitelogin13 = GUICtrlCreateInput("", 760, 312, 121, 21)

$sitelogin14 = GUICtrlCreateInput("", 760, 336, 121, 21)

$sitelogin15 = GUICtrlCreateInput("", 760, 360, 121, 21)

$sitelogin16 = GUICtrlCreateInput("", 760, 384, 121, 21)

$sitelogin17 = GUICtrlCreateInput("", 760, 408, 121, 21)

$sitelogin18 = GUICtrlCreateInput("", 760, 432, 121, 21)

$sitelogin19 = GUICtrlCreateInput("", 760, 456, 121, 21)

$sitelogin20 = GUICtrlCreateInput("", 760, 480, 121, 21)

$sitelogin21 = GUICtrlCreateInput("", 760, 504, 121, 21)

$sitelogin22 = GUICtrlCreateInput("", 760, 528, 121, 21)

$sitelogin23 = GUICtrlCreateInput("", 760, 552, 121, 21)

$sitelogin24 = GUICtrlCreateInput("", 760, 576, 121, 21)

$sitelogin25 = GUICtrlCreateInput("", 760, 600, 121, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group4 = GUICtrlCreateGroup("MAIN site URL ENDING IN/ * ", 416, 0, 337, 633)

$siteurl1 = GUICtrlCreateInput("http://", 424, 24, 321, 21)

$siteurl2 = GUICtrlCreateInput("http://", 424, 48, 321, 21)

$siteurl3 = GUICtrlCreateInput("http://", 424, 72, 321, 21)

$siteurl4 = GUICtrlCreateInput("http://", 424, 96, 321, 21)

$siteurl5 = GUICtrlCreateInput("http://", 424, 120, 321, 21)

$siteurl6 = GUICtrlCreateInput("http://", 424, 144, 321, 21)

$siteurl7 = GUICtrlCreateInput("http://", 424, 168, 321, 21)

$siteurl8 = GUICtrlCreateInput("http://", 424, 192, 321, 21)

$siteurl9 = GUICtrlCreateInput("http://", 424, 216, 321, 21)

$siteurl10 = GUICtrlCreateInput("http://", 424, 240, 321, 21)

$siteurl11 = GUICtrlCreateInput("http://", 424, 264, 321, 21)

$siteurl12 = GUICtrlCreateInput("http://", 424, 288, 321, 21)

$siteurl13 = GUICtrlCreateInput("http://", 424, 312, 321, 21)

$siteurl14 = GUICtrlCreateInput("http://", 424, 336, 321, 21)

$siteurl15 = GUICtrlCreateInput("http://", 424, 360, 321, 21)

$siteurl16 = GUICtrlCreateInput("http://", 424, 384, 321, 21)

$siteurl17 = GUICtrlCreateInput("http://", 424, 408, 321, 21)

$siteurl18 = GUICtrlCreateInput("http://", 424, 432, 321, 21)

$siteurl19 = GUICtrlCreateInput("http://", 424, 456, 321, 21)

$siteurl20 = GUICtrlCreateInput("http://", 424, 480, 321, 21)

$siteurl21 = GUICtrlCreateInput("http://", 424, 504, 321, 21)

$siteurl22 = GUICtrlCreateInput("http://", 424, 528, 321, 21)

$siteurl23 = GUICtrlCreateInput("http://", 424, 552, 321, 21)

$siteurl24 = GUICtrlCreateInput("http://", 424, 576, 321, 21)

$siteurl25 = GUICtrlCreateInput("http://", 424, 600, 321, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Group6 = GUICtrlCreateGroup("FTP SITE", 280, 0, 137, 633)

$ftpsite1 = GUICtrlCreateInput("", 288, 24, 121, 21)

$ftpsite2 = GUICtrlCreateInput("", 288, 48, 121, 21)

$ftpsite3 = GUICtrlCreateInput("", 288, 72, 121, 21)

$ftpsite4 = GUICtrlCreateInput("", 288, 96, 121, 21)

$ftpsite5 = GUICtrlCreateInput("", 288, 120, 121, 21)

$ftpsite6 = GUICtrlCreateInput("", 288, 144, 121, 21)

$ftpsite7 = GUICtrlCreateInput("", 288, 168, 121, 21)

$ftpsite8 = GUICtrlCreateInput("", 288, 192, 121, 21)

$ftpsite9 = GUICtrlCreateInput("", 288, 216, 121, 21)

$ftpsite10 = GUICtrlCreateInput("", 288, 240, 121, 21)

$ftpsite11 = GUICtrlCreateInput("", 288, 264, 121, 21)

$ftpsite12 = GUICtrlCreateInput("", 288, 288, 121, 21)

$ftpsite13 = GUICtrlCreateInput("", 288, 312, 121, 21)

$ftpsite14 = GUICtrlCreateInput("", 288, 336, 121, 21)

$ftpsite15 = GUICtrlCreateInput("", 288, 360, 121, 21)

$ftpsite16 = GUICtrlCreateInput("", 288, 384, 121, 21)

$ftpsite17 = GUICtrlCreateInput("", 288, 408, 121, 21)

$ftpsite18 = GUICtrlCreateInput("", 288, 432, 121, 21)

$ftpsite19 = GUICtrlCreateInput("", 288, 456, 121, 21)

$ftpsite20 = GUICtrlCreateInput("", 288, 480, 121, 21)

$ftpsite21 = GUICtrlCreateInput("", 288, 504, 121, 21)

$ftpsite22 = GUICtrlCreateInput("", 288, 528, 121, 21)

$ftpsite23 = GUICtrlCreateInput("", 288, 552, 121, 21)

$ftpsite24 = GUICtrlCreateInput("", 288, 576, 121, 21)

$ftpsite25 = GUICtrlCreateInput("", 288, 600, 121, 21)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

Case $ftplogin1

Case $savebutton

msgbox (0,"",$ftplogin1)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "ftplogins", "key1", $ftplogin1)

IniWrite ( "test.ini", "ftplogins", "key2", $ftplogin2)

IniWrite ( "test.ini", "ftplogins", "key3", $ftplogin3)

IniWrite ( "test.ini", "ftplogins", "key4", $ftplogin4)

IniWrite ( "test.ini", "ftplogins", "key5", $ftplogin5)

IniWrite ( "test.ini", "ftplogins", "key6", $ftplogin6)

IniWrite ( "test.ini", "ftplogins", "key7", $ftplogin7)

IniWrite ( "test.ini", "ftplogins", "key8", $ftplogin8)

IniWrite ( "test.ini", "ftplogins", "key9", $ftplogin9)

IniWrite ( "test.ini", "ftplogins", "key10", $ftplogin10)

IniWrite ( "test.ini", "ftplogins", "key11", $ftplogin11)

IniWrite ( "test.ini", "ftplogins", "key12", $ftplogin12)

IniWrite ( "test.ini", "ftplogins", "key13", $ftplogin13)

IniWrite ( "test.ini", "ftplogins", "key14", $ftplogin14)

IniWrite ( "test.ini", "ftplogins", "key15", $ftplogin15)

IniWrite ( "test.ini", "ftplogins", "key16", $ftplogin16)

IniWrite ( "test.ini", "ftplogins", "key17", $ftplogin17)

IniWrite ( "test.ini", "ftplogins", "key18", $ftplogin18)

IniWrite ( "test.ini", "ftplogins", "key19", $ftplogin19)

IniWrite ( "test.ini", "ftplogins", "key20", $ftplogin20)

IniWrite ( "test.ini", "ftplogins", "key21", $ftplogin21)

IniWrite ( "test.ini", "ftplogins", "key22", $ftplogin22)

IniWrite ( "test.ini", "ftplogins", "key23", $ftplogin23)

IniWrite ( "test.ini", "ftplogins", "key24", $ftplogin24)

IniWrite ( "test.ini", "ftplogins", "key25", $ftplogin25)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass1)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass2)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass3)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass4)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass5)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass6)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass7)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass8)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass9)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass10)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass11)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass12)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass13)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass14)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass15)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass16)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass17)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass18)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass19)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass20)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass21)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass22)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass23)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass24)

IniWrite ( "test.ini", "ftppasswords", "key", $ftppass25)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass1)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass2)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass3)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass4)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass5)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass6)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass7)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass8)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass9)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass10)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass11)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass12)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass13)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass14)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass15)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass16)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass17)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass18)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass19)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass20)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass21)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass22)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass23)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass24)

IniWrite ( "test.ini", "sitepasswords", "key", $sitepass25)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin1)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin2)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin3)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin4)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin5)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin6)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin7)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin8)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin9)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin10)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin11)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin12)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin13)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin14)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin15)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin16)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin17)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin18)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin19)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin20)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin21)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin22)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin23)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin24)

IniWrite ( "test.ini", "sitelogins", "key", $sitelogin25)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite1)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite2)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite3)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite4)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite5)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite6)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite7)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite8)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite9)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite10)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite11)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite12)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite13)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite14)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite15)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite16)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite17)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite18)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite19)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite20)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite21)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite22)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite23)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite24)

IniWrite ( "test.ini", "ftpsites", "key", $ftpsite25)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

IniWrite ( "test.ini", "siteurls", "key", $siteurl1)

IniWrite ( "test.ini", "siteurls", "key", $siteurl2)

IniWrite ( "test.ini", "siteurls", "key", $siteurl3)

IniWrite ( "test.ini", "siteurls", "key", $siteurl4)

IniWrite ( "test.ini", "siteurls", "key", $siteurl5)

IniWrite ( "test.ini", "siteurls", "key", $siteurl6)

IniWrite ( "test.ini", "siteurls", "key", $siteurl7)

IniWrite ( "test.ini", "siteurls", "key", $siteurl8)

IniWrite ( "test.ini", "siteurls", "key", $siteurl9)

IniWrite ( "test.ini", "siteurls", "key", $siteurl10)

IniWrite ( "test.ini", "siteurls", "key", $siteurl11)

IniWrite ( "test.ini", "siteurls", "key", $siteurl12)

IniWrite ( "test.ini", "siteurls", "key", $siteurl13)

IniWrite ( "test.ini", "siteurls", "key", $siteurl14)

IniWrite ( "test.ini", "siteurls", "key", $siteurl15)

IniWrite ( "test.ini", "siteurls", "key", $siteurl16)

IniWrite ( "test.ini", "siteurls", "key", $siteurl17)

IniWrite ( "test.ini", "siteurls", "key", $siteurl18)

IniWrite ( "test.ini", "siteurls", "key", $siteurl19)

IniWrite ( "test.ini", "siteurls", "key", $siteurl20)

IniWrite ( "test.ini", "siteurls", "key", $siteurl21)

IniWrite ( "test.ini", "siteurls", "key", $siteurl22)

IniWrite ( "test.ini", "siteurls", "key", $siteurl23)

IniWrite ( "test.ini", "siteurls", "key", $siteurl24)

IniWrite ( "test.ini", "siteurls", "key", $siteurl25)

EndSwitch

WEnd

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'm pretty sure you need to have your iniwrites look more like this...

IniWrite ( "test.ini", "ftplogins", "key1", GUICtrlRead($ftplogin1))

P.S. Could you have made the example a little bigger [/sarcasm]

Seriously though... the process of making a tiny self-contained example really will help us (and you) troubleshoot problems better.

Edited by SpookMeister

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

I'm pretty sure you need to have your iniwrites look more like this...

IniWrite ( "test.ini", "ftplogins", "key1", GUICtrlRead($ftplogin1))

P.S. Could you have made the example a little bigger [/sarcasm]

everytime i read a thread and someone gives partial code he gets yelled at.

so i figured id just post it all.

Share this post


Link to post
Share on other sites

everytime i read a thread and someone gives partial code he gets yelled at.

so i figured id just post it all.

I know what you are talking about... been there myself, but if you read my appended last line (while you were posting your response) it may give you more insight into what I meant.

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0