Jump to content

Same Folder?


EjayMega
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

<{POST_SNAPBACK}>

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...