CodyBarrett Posted November 11, 2008 Share Posted November 11, 2008 as you may ask yes i am a newby here :\ and yes i have read the helpguide..... although it does not seem to help me... i am looking for a GUI inputbox script that will save what u type into a .ini file. then when u load the program next time it automaticle loads it :\ can u help i alreday have a GUI and im working on it but i dont understand it. can u help by making a few lines i can add to my GUI ? or tell me how to do it.please aand thank you guys [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
martin Posted November 11, 2008 Share Posted November 11, 2008 as you may ask yes i am a newby here :\ and yes i have read the helpguide..... although it does not seem to help me... i am looking for a GUI inputbox script that will save what u type into a .ini file. then when u load the program next time it automaticle loads it :\ can u help i alreday have a GUI and im working on it but i dont understand it. can u help by making a few lines i can add to my GUI ? or tell me how to do it.please aand thank you guys Can you show what you have so far? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
CodyBarrett Posted November 11, 2008 Author Share Posted November 11, 2008 (edited) uhhh this is what i got sofar.. yes should seem slightly familiar, i copied the exapmple GUI and im working up from there and deleting what i dont need, im making a data organizer for an online game called ENDLESS ONLINE, if i were you i would put these in C:\GUILDINFO its just cause i havent made it so it automaticly makes the DIR yet (i know how) expandcollapse popup; AutoIt 3.0.103 example ; 17 Jan 2005 - CyberSlug ; This script shows manual positioning of all controls; ; there are much better methods of positioning... #include <GuiConstantsEx.au3> #include <AVIConstants.au3> #include <TreeViewConstants.au3> #include <ButtonConstants.au3> If FileExists("C:\guildinfo\C members.ini") Then MsgBox(0, "Current Members.ini", "DOES Exist") Else MsgBox(64,"no", "Does NOT exists") IniWrite("C:\guildinfo\C members.ini", "CURRENT", "key", "*") MsgBox(64,"NOW", "it exists") EndIf If FileExists("C:\guildinfo\Deserters.ini") Then MsgBox(0, "Deserters.ini", "DOES Exist") Else MsgBox(64,"no", "Does NOT exists") IniWrite("C:\guildinfo\Deserters.ini", "DESERTERS", "key", "*") MsgBox(64,"NOW", "it exists") EndIf If FileExists("C:\guildinfo\Personal.ini") Then MsgBox(0, "Personal.ini", "DOES Exist") Else MsgBox(64,"no", "Does NOT exists") IniWrite("C:\guildinfo\Personal.ini", "Personal", "key", "*") MsgBox(64,"NOW", "it exists") EndIf ; GUI GuiCreate("GUILD INFORMATION", 400, 400) GuiSetIcon(@SystemDir & "\mspaint.exe", 0) ; PIC GuiCtrlCreatePic("guild.bmp",0,0, 399,79) ; TAB GuiCtrlCreateTab(0, 80) GuiCtrlCreateTabItem("Personal") ; INPUT GuiCtrlCreateInput("", 0, 130, 400, 200) ; BUTTON GuiCtrlCreateButton("SAVE", 0, 350, 100, 30) ; TAB GuiCtrlCreateTab(0, 80) GuiCtrlCreateTabItem("Guild") ; EDIT GuiCtrlCreateEdit(@CRLF & " GUILD LISTINGS", 10, 110, 150, 70) ; LIST GuiCtrlCreateList("", 5, 190, 100, 90) GuiCtrlSetData(-1, "a.Sample|b.List|c.Control|d.Here", "b.List") ; ICON GuiCtrlCreateIcon("shell32.dll", 1, 175, 120) GuiCtrlCreateLabel("Icon", 180, 160, 50, 20) ; LIST VIEW $listView = GuiCtrlCreateListView("Sample|ListView|", 110, 190, 110, 80) GuiCtrlCreateListViewItem("A|One", $listView) GuiCtrlCreateListViewItem("B|Two", $listView) GuiCtrlCreateListViewItem("C|Three", $listView) ; GROUP WITH RADIO BUTTONS GuiCtrlCreateGroup("Sample Group", 230, 120) GuiCtrlCreateRadio("Radio One", 250, 140, 80) GuiCtrlSetState(-1, $GUI_CHECKED) GuiCtrlCreateRadio("Radio Two", 250, 165, 80) GUICtrlCreateGroup ("",-99,-99,1,1) ;close group ; UPDOWN GuiCtrlCreateLabel("UpDown", 350, 115) GuiCtrlCreateInput("42", 350, 130, 40, 20) GuiCtrlCreateUpDown(-1) ; LABEL GuiCtrlCreateLabel("Green" & @CRLF & "Label", 350, 165, 40, 40) GuiCtrlSetBkColor(-1, 0x00FF00) ; SLIDER GuiCtrlCreateLabel("Slider:", 235, 215) GuiCtrlCreateSlider(270, 210, 120, 30) GuiCtrlSetData(-1, 30) ; INPUT GuiCtrlCreateInput("Sample Input Box", 235, 255, 130, 20) ; DATE GuiCtrlCreateDate("", 5, 280, 200, 20) GuiCtrlCreateLabel("(Date control expands into a calendar)", 10, 305, 200, 20) ; BUTTON GuiCtrlCreateButton("Sample Button", 10, 330, 100, 30) ; CHECKBOX GuiCtrlCreateCheckbox("Checkbox", 130, 335, 80, 20) GuiCtrlSetState(-1, $GUI_CHECKED) ; TREEVIEW ONE $treeOne = GuiCtrlCreateTreeView(210, 290, 80, 80) $treeItem = GuiCtrlCreateTreeViewItem("TreeView", $treeOne) GuiCtrlCreateTreeViewItem("Item1", $treeItem) GuiCtrlCreateTreeViewItem("Item2", $treeItem) GuiCtrlCreateTreeViewItem("Foo", -1) GuiCtrlSetState($treeItem, $GUI_EXPAND) ; TREEVIEW TWO $treeTwo = GuiCtrlCreateTreeView(295, 290, 103, 80, $TVS_CHECKBOXES) GuiCtrlCreateTreeViewItem("TreeView", $treeTwo) GuiCtrlCreateTreeViewItem("With", $treeTwo) GuiCtrlCreateTreeViewItem("tvs_checkboxes", $treeTwo) GuiCtrlSetState(-1, $GUI_CHECKED) GuiCtrlCreateTreeViewItem("Style", $treeTwo) ; GUI MESSAGE LOOP GuiSetState() While GuiGetMsg() <> $GUI_EVENT_CLOSE WEnd what i really need help is saving what the user has put into the INPUT box into an .ini file Edited November 11, 2008 by bob00037 [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Aceguy Posted November 14, 2008 Share Posted November 14, 2008 which one do you want saved you have 2. and its best you $inp_smpl=GuiCtrlCreateInput("Sample Input Box", 235, 255, 130, 20) then you can iniwrite... [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
CodyBarrett Posted November 15, 2008 Author Share Posted November 15, 2008 yeah nevermin i got it [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now