Jump to content
Sign in to follow this  
Tomb

Using iniwrite confusion

Recommended Posts

Tomb

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
Tomb

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.