Jump to content
Sign in to follow this  

Fileopen problem {Resolved}

Recommended Posts


Hi everyone,I'm trying to open a txt file that is saved in the script path but somehow I can't get it to work :P It's not opening it! my txt file is placed in the same location as my script, and when i had a msg box to tell me what $ScriptHome is, it did give me the right path.

#include <GuiConstants.au3>
#include <IE.au3>
#include <File.au3>
#include <ExcelCOM_UDF.au3> 
#include <Array.au3>
#include <GUIComboBox.au3>
#include <GuiConstantsEx.au3>
#include <Constants.au3>

$ScriptHome = @ScriptDir & "\" & "DNCSAVideoGood.txt"
$file = FileOpen($ScriptHome, 1)

does anyone have any ideas please?

Edited by ToyBoi

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