Sign in to follow this  
Followers 0
EjayMega

Same Folder?

4 posts in this topic

I want to use a INI file that is in the same folder as the source code and the Autoit...How should i do ?

SEND ( IniRead ( "fish.ini", "Pixels", "RangeMINX", "0" ) ) Dont work...

SEND ( IniRead ( "C:\Documents and Settings\EJAY\Mina dokument\Autofisher\fish.ini", "Pixels", "RangeMINX", "0" ) ) Works...

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I want to use a INI file that is in the same folder as the source code and the Autoit...How should i do ?

SEND ( IniRead ( "fish.ini", "Pixels", "RangeMINX", "0" ) ) Dont work...

SEND ( IniRead ( "C:\Documents and Settings\EJAY\Mina dokument\Autofisher\fish.ini", "Pixels", "RangeMINX", "0" ) ) Works...

<{POST_SNAPBACK}>

Edit: ....removed wrong statement.

if this path is the scriptpath then use

SEND ( IniRead ( @scriptDir & "\fish.ini", "Pixels", "RangeMINX", "0" ) )
Edited by JdeB

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

Share this post


Link to post
Share on other sites

Your guys are so nice to newbies :ph34r: THX!!!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Your guys are so nice to newbies :ph34r: THX!!!

<{POST_SNAPBACK}>

That's only with the first couple of questions.. :( Edited by JdeB

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

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