Jump to content
Sign in to follow this  
EjayMega

Same Folder?

Recommended Posts

EjayMega

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
Jos

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

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

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  

×