Jump to content

GUIinput


cprz
 Share

Recommended Posts

alright been tryin to figure it out for a while just wont work out right what i am doing is doing the gui input then make it iniwrite it in a ini file but what they put in the inputbox how could you make it write whats in there??

Link to comment
Share on other sites

  • Developers

alright been tryin to figure it out for a while just wont work out right what i am doing is doing the gui input then make it iniwrite it in a ini file but what they put in the inputbox how could you make it write whats in there??

<{POST_SNAPBACK}>

$h_Label = GUICtrlCreateInput("", 10,10)
;
;Rest of your code to handle the gui
;
IniWrite("test.ini", "Subject", "Item", GUICtrlRead($H_Label))

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

alright been tryin to figure it out for a while just wont work out right what i am doing is doing the gui input then make it iniwrite it in a ini file but what they put in the inputbox how could you make it write whats in there??

<{POST_SNAPBACK}>

Hi :D good look test it! :idiot:

$sFile=@SCRIPTDIR & '\Test.ini'

$spam6=IniRead($sFile, 'spam', 'spam', '\Enter yout text')

$spam=InputBox("DirtyBanditos", "Please enter your Message 1", $spam6)

iniwrite($sFile, 'spam', 'spam', $spam)

Link to comment
Share on other sites

rofl nvm ime a retard i put quotes around it no wonder lol thx guys lol that was my whole prob from the start put dang quotes...

<{POST_SNAPBACK}>

:lol: Hi np for helps ,Yea the Autoit forum rocks for nice helps i like it)) :D

Good luck for Happy Coding, post your nice freeware script on the Autoit3 forums :idiot:

Edited by DirtyBanditos
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...