Jump to content
Sign in to follow this  
cprz

GUIinput

Recommended Posts

cprz

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??

Share this post


Link to post
Share on other sites
Jos

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))

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
DirtyBanditos

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)

Share this post


Link to post
Share on other sites
cprz

humm still comes out like this

[test]

test1=GUIctrlRead($test1)

test2=GUIctrlRead($test2)

Edited by cprz

Share this post


Link to post
Share on other sites
cprz

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...

Share this post


Link to post
Share on other sites
DirtyBanditos

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

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  

×