Sign in to follow this  
Followers 0
grindking01

Newbie help

2 posts in this topic

This is the text I have now and it keeps giving me errors:

$dir = IniRead (@ScriptDir\ReadmeSettup.ini, "Settup", "Directory")

I want the autoit file to read the directory code from a settup file. The settup file is called ReadmeSettup.ini, and I wanted to use the @ScriptDir command because the ini is in the same folder as the autoit script.

Any ideas on why this isn't working?

Share this post


Link to post
Share on other sites



This is the text I have now and it keeps giving me errors:

$dir = IniRead (@ScriptDir\ReadmeSettup.ini, "Settup", "Directory")

I want the autoit file to read the directory code from a settup file. The settup file is called ReadmeSettup.ini, and I wanted to use the @ScriptDir command because the ini is in the same folder as the autoit script.

Any ideas on why this isn't working?

<{POST_SNAPBACK}>

$dir = IniRead (@ScriptDir & "\ReadmeSettup.ini", "Settup", "Directory","defaultvalue")

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