Sign in to follow this  
Followers 0
cloudkiaDotCom

Weird problem

5 posts in this topic

$a = "abc"

$b = FileOpenDialog("wa","","exe(*.exe)")

IniWrite("testing.ini", "Games Path", $a, $:ph34r:

How come this not work for me!? who can tell tell TELL ME!? :lmao:


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites



Well it does work, but not exactly like you wanted it.

@WorkingDir is changed on successful return.

So, if your script is on C:\ and the file you select in FileOpenDialog is on D:\,

then the file you INIWrite will actually be on D:\.

Share this post


Link to post
Share on other sites

My script and .ini put together. The result is not updated to the .ini... weird..


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

What ? Select a file in a folder and when your script is finished you open that folder

and find out that your "testing.ini" is saved there. Is that what you wanted ? If not

then you need to specify the full path (@ScriptDir & "\testing.ini") or you need to

change @WorkingDir back to the one you want (by using FileChangeDir).

Edit : oh, what the hell :

$a = "abc"

$b = FileOpenDialog("wa","","exe(*.exe)")
FileChangeDir(@ScriptDir)

IniWrite("testing.ini", "Games Path", $a, $B)
Edited by Helge

Share this post


Link to post
Share on other sites

How come? It work! thank Q ...~~


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

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