Sign in to follow this  
Followers 0
caignacais

Tuto for a basic script

3 posts in this topic

hello everybody !!

first : i'm not english so don't be angry if what i write is difficultly comprehensive

my question is simple :

i have a file named "patrice.txt" localizated in c:

i would like that AutoIt open it !!!

i have try different scripts, i have read the AutoIt help menu (in english and i'm french) and i don't succeed :angry:

thanks for help :D

Share this post


Link to post
Share on other sites



hello everybody !!

first : i'm not english so don't be angry if what i write is difficultly comprehensive

my question is simple :

i have a file named "patrice.txt" localizated in c:

i would like that AutoIt open it !!!

i have try different scripts, i have read the AutoIt help menu (in english and i'm french) and i don't succeed :)

thanks for help :P

Try here for starters: http://www.autoitscript.com/forum/index.php?showtopic=21048


“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Welcome,

If you just want to read it's contents then just use FileRead(). If you want to Open the file for read write write by using the file handle, then use FileOpen().

Otherwise you may need to explain more of what you want.

Next time please post in Support forum for help, thanks. :)

Don't worry, a moderator will move this post. :P

Edited by MHz

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