Sign in to follow this  
Followers 0
Tomb

Using iniwrite confusion

2 posts in this topic

#1 ·  Posted (edited)

ok i am creating a gui, and a picture on the gui. i want to use ControlGetPos to read the position and set it to a variable. then i want to iniwrite the variable to an ini folder. i want the ini to show the coordinates that ControlGetPos gets. heres some code.

$GetPos = ControlGetPos($GUI, "", $background)
$cks = "ini.ini"
IniWriteSection($cks, 1, $GetPos)

why doesn't this work?

Edited by Tomb616

Share this post


Link to post
Share on other sites



nevermind i forgot controlgetpos makes an array, and i was being silly. all solved.

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