EvilGost Posted October 20, 2004 Share Posted October 20, 2004 (edited) Hello AutoIt's User I'm a newbie with AutoIt. I just want to ask you one question. Is it possible to obtain path of the file (exe) create with autoIt after compilation? As the App.Path with Visual Basic. Because in my script, i'm obliged to now the path of the script: $requete = IniRead ( "C:\Automation\Stats_Auto_Hebdo\Stats_Auto_Hebdo.ini", "RequeteAll", "Requete", "Erreur" ) and i want something like this (app.path is vb style): $requete = IniRead ( app.path & \Stats_Auto_Hebdo.ini", "RequeteARS", "Requete", "Erreur" ) Big thanks Edited October 20, 2004 by EvilGost Link to comment Share on other sites More sharing options...
SlimShady Posted October 20, 2004 Share Posted October 20, 2004 Check the macros.Did you know there's a help file?You can find a link in the start menu. Link to comment Share on other sites More sharing options...
midiaxe Posted October 20, 2004 Share Posted October 20, 2004 You can use one of the Macros, I believe it's @ScriptDir. Link to comment Share on other sites More sharing options...
EvilGost Posted October 27, 2004 Author Share Posted October 27, 2004 yes, but how to use it? Link to comment Share on other sites More sharing options...
sPeziFisH Posted October 27, 2004 Share Posted October 27, 2004 AutoIt has an number of Macros that are special read-only variables used by AutoIt. Macros start with the @ character instead of the usual $ so are easy to tell apart. As with normal variables you can use macros in expressions but you cannot assign a value to them...do you have a bad pirate copy of the AutoIt-manual ? Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 27, 2004 Share Posted October 27, 2004 Check out the readme for you bot file... It has an automation of its own, no need to recreate. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now