Sign in to follow this  
Followers 0
s2mikey

Opening and displaying a txt file at the end of my script...

3 posts in this topic

Hi all. New forum member here. Ive been using AUTO IT for a few months now and really am starting to enjoy it! Anyways...

At the end of my test run I want to open the txt-based log file and display it so the person running the script can view the results right there. Its just a text file so I tried using the Run command and the RunWait command using the path & filename. Im expecting Notepad to simply open with my log file contents displayed in it but nothing actually happens. No errors or anything, just no log file to view!

What am I missing here? I tried a few searches but couldnt get what I needed.

Thanks in advance! :)

Share this post


Link to post
Share on other sites



Use shellexecute() or Run('notepad "Yourfile"') :)

I'll give that a shot...thanks for the quick reply!

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